From: John Darrington Date: Sat, 14 Jan 2017 11:22:13 +0000 (+0100) Subject: tests: Avoid infinite loop in test. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=691654b1a1dda2601c56d38e4c5e9c510d2056d0;p=pspp tests: Avoid infinite loop in test. --- diff --git a/tests/language/command.at b/tests/language/command.at index ae91558ce1..442355dbb6 100644 --- a/tests/language/command.at +++ b/tests/language/command.at @@ -18,7 +18,7 @@ dnl read the first token of the next command. dnl dnl (If this reecurs, the the test will run forever.) AT_SETUP([FINISH executes immediately]) -AT_CHECK([(echo "FINISH."; while :; do echo; done) | pspp]) +AT_CHECK([(echo "FINISH."; while echo ; do true; done) | pspp], [0], [ignore], [ignore]) AT_CLEANUP AT_BANNER([ERASE])