chiark / gitweb /
Test suite: in enumerate-tests, massage multi-line whynot
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Aug 2015 15:01:17 +0000 (16:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Aug 2015 15:01:17 +0000 (16:01 +0100)
tests/enumerate-tests

index 912ee4ffdff4fcce80ac5ec2fc87f64b2c3386d9..2c00f975a7f88b4fa3104ed60f3d88ad1ec9a6f6 100755 (executable)
@@ -15,6 +15,8 @@ restriction- () {
        set +e
        whynot=$(t-restriction-$r)
        rc=$?
        set +e
        whynot=$(t-restriction-$r)
        rc=$?
+       whynot="${whynot//
+/ / }"
        set -e
        case "$rc.$whynot" in
        0.)     ;;
        set -e
        case "$rc.$whynot" in
        0.)     ;;