mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
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:
parent
0442607745
commit
8518115e25
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user