aboutsummaryrefslogtreecommitdiff
path: root/testcases/lib
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2018-11-30 20:22:57 +0100
committerPetr Vorel <pvorel@suse.cz>2018-11-30 20:33:30 +0100
commit8a6e2554ee66428008f903f88b3f927c863af533 (patch)
tree4c20e5c5000e206d9b483da3105232e2b9ff24a6 /testcases/lib
parent052a2817b90de92153d3087b1ef1b076c6c664fc (diff)
tst_test.sh: Suppress wait output
Not only kill command in _tst_do_exit(), also wait has some output is needed to redirect to /dev/null: /opt/ltp/testcases/bin/tst_test.sh: line 65: 5337 Terminated \ sleep $sec && tst_res TBROK "test killed, timeout!" && kill -9 -$pid (wd: /opt/ltp/testcases/bin) Fixes: fbea02ab5 ("lib/tst_test.sh: setup timeout per test run for the shell tests") Signed-off-by: Petr Vorel <pvorel@suse.cz>
Diffstat (limited to 'testcases/lib')
-rw-r--r--testcases/lib/tst_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index 8bf5f84d1..1a5d925f9 100644
--- a/testcases/lib/tst_test.sh
+++ b/testcases/lib/tst_test.sh
@@ -62,7 +62,7 @@ _tst_do_exit()
if [ -n "$_tst_setup_timer_pid" ]; then
kill $_tst_setup_timer_pid 2>/dev/null
- wait $_tst_setup_timer_pid
+ wait $_tst_setup_timer_pid 2>/dev/null
fi
if [ $TST_FAIL -gt 0 ]; then