]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd/copy.sh: use non-deprecated --image-format option
authorSage Weil <sage@inktank.com>
Sat, 26 Jan 2013 21:46:12 +0000 (13:46 -0800)
committerSage Weil <sage@inktank.com>
Sat, 26 Jan 2013 21:46:12 +0000 (13:46 -0800)
--format is deprecated.

Signed-off-by: Sage Weil <sage@inktank.com>
qa/workunits/rbd/copy.sh

index e2465fa3c4558ba06cb383fd9cf62daa2aa30aa1..a3334c073d6adc00dd80b2ee4d08008e842ef5ee 100755 (executable)
@@ -145,7 +145,7 @@ test_ls() {
     done
 
     for i in $(seq -w 00 99); do
-       rbd create image.$i --format 2 -s 1
+       rbd create image.$i --image-format 2 -s 1
     done
     rbd ls | wc -l | grep 100
     rbd ls -l | grep image |  wc -l | grep 100
@@ -322,7 +322,7 @@ test_remove
 RBD_CREATE_ARGS=""
 test_others
 test_locking
-RBD_CREATE_ARGS="--format 2"
+RBD_CREATE_ARGS="--image-format 2"
 test_others
 test_locking
 test_clone