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 912ee4f..2c00f97 100755 (executable)
@@ -15,6 +15,8 @@ restriction- () {
        set +e
        whynot=$(t-restriction-$r)
        rc=$?
+       whynot="${whynot//
+/ / }"
        set -e
        case "$rc.$whynot" in
        0.)     ;;