]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd cli tests: copy.sh was looking for old version of rbd ls -l output
authorDan Mick <dan.mick@inktank.com>
Wed, 10 Oct 2012 00:13:03 +0000 (17:13 -0700)
committerDan Mick <dan.mick@inktank.com>
Wed, 10 Oct 2012 00:13:49 +0000 (17:13 -0700)
Signed-off-by: Dan Mick <dan.mick@inktank.com>
qa/workunits/rbd/copy.sh

index 2ba3945e4c64443f55ee955f6b6c13bb06c2f498..b7ca82e6fce553e37ebb16b37e6a56ef9dfce94b 100755 (executable)
@@ -89,8 +89,8 @@ test_ls() {
     rbd ls | grep test2
     rbd ls | wc -l | grep 2
     # look for fields in output of ls -l without worrying about space
-    rbd ls -l | grep 'test1.*image.*1024 KB.*1'
-    rbd ls -l | grep 'test2.*image.*1024 KB.*1'
+    rbd ls -l | grep 'test1.*1024K.*1'
+    rbd ls -l | grep 'test2.*1024K.*1'
 
     rbd rm test1
     rbd rm test2
@@ -100,8 +100,8 @@ test_ls() {
     rbd ls | grep test1
     rbd ls | grep test2
     rbd ls | wc -l | grep 2
-    rbd ls -l | grep 'test1.*image.*1024 KB.*2'
-    rbd ls -l | grep 'test2.*image.*1024 KB.*2'
+    rbd ls -l | grep 'test1.*1024K.*2'
+    rbd ls -l | grep 'test2.*1024K.*2'
 
     rbd rm test1
     rbd rm test2
@@ -111,8 +111,8 @@ test_ls() {
     rbd ls | grep test1
     rbd ls | grep test2
     rbd ls | wc -l | grep 2
-    rbd ls -l | grep 'test1.*image.*1024 KB.*2'
-    rbd ls -l | grep 'test2.*image.*1024 KB.*1'
+    rbd ls -l | grep 'test1.*1024K.*2'
+    rbd ls -l | grep 'test2.*1024K.*1'
 
     remove_images
 }