From bc84dfc8de024c9561e1b00ccb41393232d3906e Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Tue, 4 Jun 2019 08:56:03 -0400 Subject: [PATCH] test: remove fs/test-volume.sh workunit .. since its ported to python now. Fixes: http://tracker.ceph.com/issues/39949 Signed-off-by: Venky Shankar (cherry picked from commit 0d044a97e9aea37ddb8f08536ad474ec12b5d4b5) --- qa/workunits/fs/test-volumes.sh | 37 --------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 qa/workunits/fs/test-volumes.sh diff --git a/qa/workunits/fs/test-volumes.sh b/qa/workunits/fs/test-volumes.sh deleted file mode 100755 index 00507c5d14c85..0000000000000 --- a/qa/workunits/fs/test-volumes.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash -ex - -function expect_false() -{ - set -x - if "$@"; then return 1; else return 0; fi -} - -# make sure we can do multiple file systems -ceph fs flag set enable_multiple true --yes-i-really-mean-it - -# create a volume if one doesn't exist -if `ceph fs volume ls | jq 'length'` -eq 0 ; then - EXISTING='foo' - ceph fs volume create $EXISTING -else - EXISTING=`ceph fs volume ls | jq -r '.[0].name'` -fi - - - -# create and remove volumes -if ceph fs volume ls | grep bar; then - echo 'uh, volume bar already exists, bailing' - exit 1 -fi -ceph fs volume create bar -ceph fs volume ls | grep bar -ceph fs volume rm bar - -# subvolumes on $EXISTING -ceph fs subvolume create $EXISTING sub1 -ceph fs subvolume create $EXISTING sub2 -ceph fs subvolume rm $EXISTING sub2 -ceph fs subvolume rm $EXISTING sub1 - -echo OK -- 2.39.5