From dc54ff33100d91912c2857523d59ce00022becc3 Mon Sep 17 00:00:00 2001 From: Frank Sehr Date: Tue, 25 Feb 2025 16:24:17 -0800 Subject: [PATCH] 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 --- lustre/tests/sanity-lnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 1.8.3.1