add timeout

This commit is contained in:
Ondrej Mejzlik 2023-08-01 10:18:26 +02:00
commit 75e0126194

View file

@ -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"