summaryrefslogtreecommitdiff
path: root/test-suite/check
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/check')
-rwxr-xr-xtest-suite/check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/check b/test-suite/check
index 1c7822d1..378c8e5d 100755
--- a/test-suite/check
+++ b/test-suite/check
@@ -99,7 +99,7 @@ test_parser() {
foutput=`dirname $f`/`basename $f .v`.out
echo "parse_file 1 \"$f\"" | ../bin/parser > $tmpoutput 2>&1
perl -ne 'if(/Starting.*Parser Loop/){$printit = 1};print if $printit' \
- $tmpoutput | grep -i error > /dev/null
+ $tmpoutput 2>&1 | grep -i error > /dev/null
if [ $? = 0 ] ; then
echo "Error! (unexpected output)"
else