[LTP] [COMMITTED] [PATCH] tst_test.sh: Add missing TBROK
Cyril Hrubis
chrubis@suse.cz
Mon Feb 12 15:08:18 CET 2018
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/lib/tst_test.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index 249b05456..d6b638549 100644
--- a/testcases/lib/tst_test.sh
+++ b/testcases/lib/tst_test.sh
@@ -304,13 +304,13 @@ tst_run()
if [ "$TST_NEEDS_DEVICE" = 1 ]; then
if [ -z ${TST_TMPDIR} ]; then
- tst_brk "Use TST_NEEDS_TMPDIR must be set for TST_NEEDS_DEVICE"
+ tst_brk TBROK "Use TST_NEEDS_TMPDIR must be set for TST_NEEDS_DEVICE"
fi
TST_DEVICE=$(tst_device acquire)
if [ -z "$TST_DEVICE" ]; then
- tst_brk "Failed to acquire device"
+ tst_brk TBROK "Failed to acquire device"
fi
TST_DEVICE_FLAG=1
--
2.13.6
More information about the ltp
mailing list