From fd77bcb47ca9b5fea56e0ade43b95faf2622d6d2 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 9 Mar 2020 03:37:22 -0600 Subject: [PATCH] LU-10447 tests: remove use of SETSTRIPE from sanity The recently landed test_136() was using $SETSTRIPE instead of $LFS setstripe, but that was removed from test-framework.sh in a later patch (written earlier and didn't take it into account). This test doesn't fail during normal testing because it is skipped due to SLOW testing. Change it to use $LFS setstripe instead. Fixes: cc1092291932 ("LU-13069 obdclass: don't skip records for wrapped catalog") Fixes: be3b7e772d3a ("LU-10447 tests: deprecate use of $SETSTRIPE/$GETSTRIPE") Test-Parameters: trivial testlist=sanity env=ONLY=136,ONLY_REPEAT=10 Signed-off-by: Andreas Dilger Change-Id: Ibb1e8220e2de711e7034d91baa329bdc04687c72 Reviewed-on: https://review.whamcloud.com/37831 Tested-by: Maloo Reviewed-by: Alexander Boyko Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c8b399a..1f25579 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -75,7 +75,7 @@ if (( $LINUX_VERSION_CODE >= $(version_code 4.18.0) && ALWAYS_EXCEPT+=" 411" fi -# 5 12 (min)" +# 5 12 8 12 (min)" [ "$SLOW" = "no" ] && EXCEPT_SLOW="27m 64b 68 71 115 135 136 300o" if [ "$mds1_FSTYPE" = "zfs" ]; then @@ -12740,7 +12740,7 @@ test_136() { local fname mkdir -p $DIR/$tdir || error "failed to create $DIR/$tdir" - $SETSTRIPE -c 1 -i 0 $DIR/$tdir || error "failed to set striping" + $LFS setstripe -c 1 -i 0 $DIR/$tdir || error "failed to set striping" #set only one record at plain llog #define OBD_FAIL_CATALOG_FULL_CHECK 0x131a do_facet $SINGLEMDS $LCTL set_param fail_loc=0x131a fail_val=1 -- 1.8.3.1