rbd cli tests: copy.sh was looking for old version of rbd ls -l output

Signed-off-by: Dan Mick <dan.mick@inktank.com>
This commit is contained in:
Dan Mick 2012-10-09 17:13:03 -07:00
parent 0442607745
commit 8518115e25

View File

@ -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
}