Whamcloud - gitweb
LU-14645 utils: optimise setstripe
[fs/lustre-release.git] / lustre / tests / ost-pools.sh
index 217a8a9..a01532d 100755 (executable)
@@ -596,10 +596,6 @@ test_6() {
        $LFS setstripe -c 2 -p $INVALID_POOL $POOL_DIR 2>/dev/null
        [[ $? -ne 0 ]] || error "setstripe to invalid pool did not fail."
 
-       # If the pool name does not exist, the command should fail
-       $LFS setstripe -c 2 -p $NON_EXISTANT_POOL $POOL_DIR 2>/dev/null
-       [[ $? -ne 0 ]] || error "setstripe to non-existant pool did not fail."
-
        # lfs setstripe should work as before if a pool name is not specified.
        $LFS setstripe -c -1 $POOL_DIR
        [[ $? -eq 0 ]] || error "$LFS setstripe -c -1 $POOL_DIR failed."
@@ -696,10 +692,6 @@ test_7c()
        $LFS setstripe -c 1 $DIR/$tdir/testfile1 --pool "${pool}X" &&
                error "setstripe succedeed"
 
-       # setstripe with the same pool name minus 1 letter
-       $LFS setstripe -c 1 $DIR/$tdir/testfile1 --pool "${pool%?}" &&
-               error "setstripe succedeed"
-
        rm -f $DIR/$tdir/testfile1
 
        destroy_pool_int $FSNAME.$pool