From: Frank Sehr Date: Wed, 26 Feb 2025 00:24:17 +0000 (-0800) Subject: LU-18751 lnet: fix sanity-lnet/410 test case X-Git-Tag: 2.16.54~65 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=dc54ff3310;p=fs%2Flustre-release.git LU-18751 lnet: fix sanity-lnet/410 test case The use of '\0' is not supported in all versions of bash. Using "" as a NUL input serves the same purpose. Test-Parameters: trivial Fixes: 30868de940 ("LU-18751 lnet: Segfault in lnetctl fault command") Signed-off-by: Frank Sehr Change-Id: I2caafee1b3e00f1921a7bb2675187353797a0570 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58376 Reviewed-by: Timothy Day Reviewed-by: James Simmons Reviewed-by: Oleg Drokin Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/sanity-lnet.sh b/lustre/tests/sanity-lnet.sh index f227488..5d442fa 100755 --- a/lustre/tests/sanity-lnet.sh +++ b/lustre/tests/sanity-lnet.sh @@ -4601,7 +4601,7 @@ run_test 402 "Destination net rule should not panic" test_410() { reinit_dlc || return $? - do_lnetctl fault reset \0 || + do_lnetctl fault reset "" || return 0 error "Command should fail"