]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: remove fs/test-volume.sh workunit
authorVenky Shankar <vshankar@redhat.com>
Tue, 4 Jun 2019 12:56:03 +0000 (08:56 -0400)
committerRamana Raja <rraja@redhat.com>
Thu, 13 Jun 2019 14:24:31 +0000 (19:54 +0530)
.. since its ported to python now.

Fixes: http://tracker.ceph.com/issues/39949
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 0d044a97e9aea37ddb8f08536ad474ec12b5d4b5)

qa/workunits/fs/test-volumes.sh [deleted file]

diff --git a/qa/workunits/fs/test-volumes.sh b/qa/workunits/fs/test-volumes.sh
deleted file mode 100755 (executable)
index 00507c5..0000000
+++ /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