From dad9ce41f34812a71a542ed2c86be5be746510a7 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Wed, 15 Feb 2017 16:27:21 -0700 Subject: [PATCH] LU-9125 test: Correct setstripe -s option Some flags for 'lfs setstripe' were deprecated and tests were not updated. recovery-small test 24b calls 'lfs setstripe' with a '-s' flag which needs to be '-S'. Test-Parameters: trivial testlist=recovery-small Signed-off-by: James Nunez Change-Id: Iaaaecf0a73a9b659ff44d3c0a50e4386540ba0f3 Reviewed-on: https://review.whamcloud.com/25481 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Fan Yong --- lustre/tests/recovery-small.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 9e50a6c..6b1c7d1 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -1033,7 +1033,8 @@ test_24b() { dmesg -c > /dev/null mkdir -p $DIR/$tdir - lfs setstripe $DIR/$tdir -s 0 -i 0 -c 1 + lfs setstripe $DIR/$tdir -S 0 -i 0 -c 1 || + error "$LFS setstripe failed" cancel_lru_locks osc multiop_bg_pause $DIR/$tdir/$tfile-1 Ow8192_yc || error "mulitop Ow8192_yc failed" -- 1.8.3.1