* tests/regression/jasmin/runtest: Do not use grep -o.
authoredwin <none@none>
Mon, 2 Oct 2006 00:06:09 +0000 (00:06 +0000)
committeredwin <none@none>
Mon, 2 Oct 2006 00:06:09 +0000 (00:06 +0000)
--HG--
branch : unified_variables

tests/regression/jasmin/runtest

index 0150e17c31a7f0ef54ad19f6e9a62e9da0201263..ec8a71df0db4d942b25d889c1ae4424716eddec4 100755 (executable)
@@ -58,7 +58,7 @@ do
 
        if grep 'ERROR:' "$TEST" >/dev/null ; then
                EXPECTSTATUS=1
-               EXPECTERROR=$(grep -o 'ERROR:.*' "$TEST" | sed 's,ERROR:[ \t]*,,')
+               EXPECTERROR=$(grep 'ERROR:.*' "$TEST" | sed 's,.*ERROR:[ \t]*,,')
        fi
 
        # run the test