discard rbd error output when not relevant in qemu-iotests
authorLoic Dachary <loic@dachary.org>
Wed, 8 Jan 2014 20:05:38 +0000 (21:05 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 28 Feb 2014 17:59:07 +0000 (18:59 +0100)
Suppress rbd progress messages with --no-progress so they are not
confused with an error output when comparing test results ( progress is
displayed on stderr ).

Signed-off-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/common.rc

index 71e9a74..881079b 100644 (file)
@@ -203,7 +203,7 @@ _cleanup_test_img()
             ;;
 
         rbd)
-            rbd rm "$TEST_DIR/t.$IMGFMT" > /dev/null
+            rbd --no-progress rm "$TEST_DIR/t.$IMGFMT" > /dev/null
             ;;
 
         sheepdog)