From 75e0126194acb0ee8d383287cf5dcc61539722bb Mon Sep 17 00:00:00 2001 From: Ondrej Mejzlik Date: Tue, 1 Aug 2023 10:18:26 +0200 Subject: [PATCH] add timeout --- .../runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Regression/bz2211207-libedit-doesn-t-read-editrc-and-has-unexpected/runtest.sh b/Regression/bz2211207-libedit-doesn-t-read-editrc-and-has-unexpected/runtest.sh index 3962728..5c594e1 100755 --- a/Regression/bz2211207-libedit-doesn-t-read-editrc-and-has-unexpected/runtest.sh +++ b/Regression/bz2211207-libedit-doesn-t-read-editrc-and-has-unexpected/runtest.sh @@ -41,7 +41,7 @@ rlJournalStart rlGetTestState && { rlPhaseStartTest - rlRun "script -c chronyc /dev/null < /dev/null &> out" 0 "Get output" + rlRun "timeout 10 script -c chronyc /dev/null < /dev/null &> out" 0,124 "Get output" echo "Output: ###############" cat out rlRun "grep 'ed-move-to-end' out" 0 "If .editrc works, grep will not fail"