From: Dan Mick Date: Wed, 10 Oct 2012 00:13:03 +0000 (-0700) Subject: rbd cli tests: copy.sh was looking for old version of rbd ls -l output X-Git-Tag: v0.54~60 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8518115e25d980f4416b78981e06a3598e89520a;p=ceph.git rbd cli tests: copy.sh was looking for old version of rbd ls -l output Signed-off-by: Dan Mick --- diff --git a/qa/workunits/rbd/copy.sh b/qa/workunits/rbd/copy.sh index 2ba3945e4c6..b7ca82e6fce 100755 --- a/qa/workunits/rbd/copy.sh +++ b/qa/workunits/rbd/copy.sh @@ -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 }