]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
workunits: update rbd test for new error format
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 30 Dec 2011 18:32:05 +0000 (10:32 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 30 Dec 2011 18:32:05 +0000 (10:32 -0800)
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
qa/workunits/rbd/copy.sh

index 93192ebe10d80ff1cc8e35b4293578fe96371fd2..3c6bb029abd9e2a4cd9d10b655a224fafe7b2cdb 100755 (executable)
@@ -50,7 +50,7 @@ cmp /tmp/img2 /tmp/img1.snap1
 
 # remove snapshots
 rbd snap rm --snap=snap1 testimg1
-rbd info --snap=snap1 testimg1 2>&1 | grep 'error setting snapshot context: error 2: No such file or directory'
+rbd info --snap=snap1 testimg1 2>&1 | grep 'error setting snapshot context: (2) No such file or directory'
 
 rm -f $TMP_FILES