tst_test.sh: Add info about LTP_TIMEOUT_MUL into TBROK message
PATCH 1/1 tst_test.sh: Add info about LTP_TIMEOUT_MUL into TBROK message
Signed-off-by Petr Vorel <[email protected]>
---
Hi Alexey,
maybe it makes sense to add info about LTP_TIMEOUT_MUL variable. I'm sorry, I didn't notice before.
This is the same message as it's in C API.
Kind regards,
Petr
--- testcases/lib/tst_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/lib/tst_test.sh +1 -1
@@ -371,7 +371,7 @@ _tst_setup_timer() tst_res TINFO "timeout per run is ${h}h ${m}m ${s}s" - sleep $sec && tst_res TBROK "test killed, timeout!" && kill -9 -$pid & + sleep $sec && tst_res TBROK "test killed, timeout! If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1" && kill -9 -$pid & _tst_setup_timer_pid=$! }
Signature · 1 line
2.19.1
PATCH 1/1 tst_test.sh: Add info about LTP_TIMEOUT_MUL into TBROK message
Hi,
..
Quoted 1 line
+++
b/testcases/lib/tst_test.sh
...
testcases/lib/tst_test.sh _tst_setup_timer() · line 374
Quoted 2 lines
testcases/lib/tst_test.sh +1
-1- sleep $sec && tst_res TBROK "test killed, timeout!" && kill -9 -$pid & + sleep $sec && tst_res TBROK "test killed, timeout! If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1" && kill -9 -$pid &
FYI: pushed.
Kind regards,
Petr