workunits: update rbd test for new error format

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
This commit is contained in:
Josh Durgin 2011-12-30 10:32:05 -08:00
parent 85719b0ed8
commit 6687ccf5dc

View File

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