From: James Nunez Date: Wed, 15 Feb 2017 23:27:21 +0000 (-0700) Subject: LU-9125 test: Correct setstripe -s option X-Git-Tag: 2.9.54~42 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=dad9ce41f34812a71a542ed2c86be5be746510a7 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 --- 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"