From 691654b1a1dda2601c56d38e4c5e9c510d2056d0 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 14 Jan 2017 12:22:13 +0100 Subject: [PATCH] tests: Avoid infinite loop in test. --- tests/language/command.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.30.2