Fix incorrect tst_brk usage in nfslock01.sh
PATCH 1/1 Fix incorrect tst_brk usage in nfslock01.sh
Signed-off-by Martin Doucha <[email protected]>
---
In the previous release, the nfs_lock process failure would skip any remaining filesystems. After this change, the single filesystem test run will exit but all remeaining filesystems will be tested.
testcases/network/nfs/nfslock01/nfslock01.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/network/nfs/nfslock01/nfslock01.sh +2 -1
@@ -68,7 +68,8 @@ do_test() for p in $pids; do wait $p if [ $? -ne 0 ]; then - tst_brk TFAIL "nfs_lock process failed" + tst_res TFAIL "nfs_lock process failed" + return else tst_res TINFO "$p completed" fi
Signature · 5 lines
2.42.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Martin,
Quoted 3 lines
In the previous release, the
nfs_lockprocess failure would skip any remaining filesystems. After this change, the single filesystem test run will exit but all remeaining filesystems will be tested.
Thanks a lot for a fix, merged!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp