]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/cli-integration: Permit V1 image creation 20460/head
authorJulien COLLET <julien.collet@cern.ch>
Tue, 27 Mar 2018 13:53:32 +0000 (15:53 +0200)
committerJulien COLLET <julien.collet@cern.ch>
Fri, 30 Mar 2018 13:03:58 +0000 (15:03 +0200)
Signed-off-by: Julien COLLET <julien.collet@cern.ch>
src/test/cli-integration/rbd/formatted-output.t

index eae9d4ea01fb8ac26f07412df660ca334327a0d8..6859ff965b83065d37795197c7e96ff6d7c9c220 100644 (file)
@@ -12,11 +12,11 @@ ls on empty pool never containing images
 
 create
 =======
-  $ rbd create -s 1024 --image-format 1 foo
+  $ RBD_FORCE_ALLOW_V1=1 rbd create -s 1024 --image-format 1 foo
   rbd: image format 1 is deprecated
   $ rbd create -s 512 --image-format 2 bar
   $ rbd create -s 2048 --image-format 2 --image-feature layering baz
-  $ rbd create -s 1 --image-format 1 quux
+  $ RBD_FORCE_ALLOW_V1=1 rbd create -s 1 --image-format 1 quux
   rbd: image format 1 is deprecated
   $ rbd create -s 1G --image-format 2 quuy