Update xfs_io filter to exclude some additional output being added shortly.
authorNathan Scott <nathans@sgi.com>
Thu, 27 Nov 2003 22:08:54 +0000 (22:08 +0000)
committerNathan Scott <nathans@sgi.com>
Thu, 27 Nov 2003 22:08:54 +0000 (22:08 +0000)
071
078

diff --git a/071 b/071
index 4dd9a8a283da80849a564043e9dc11a38a735fbb..b2b88992f0e8adc7f0a4df4556343297e4d899e8 100755 (executable)
--- a/071
+++ b/071
@@ -59,7 +59,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _filter_io()
 {
-    sed -e "s/$dbsize/1FSB/g"
+    sed -e "s/$dbsize/1FSB/g" -e '/^----.*/d'
 }
 
 _filter_off()
diff --git a/078 b/078
index db127d7517161543b523c49495a69cccef789be5..1a31ba7b8fe03ffa8da3c7be1a813f4f9707e2cf 100755 (executable)
--- a/078
+++ b/078
@@ -61,6 +61,11 @@ _require_loop
 LOOP_DEV=$TEST_DIR/$seq.fs
 LOOP_MNT=$TEST_DIR/$seq.mnt
 
+_filter_io()
+{
+       sed -e '/^----.*/d'
+}
+
 # real QA test starts here
 echo "*** create loop mount point"
 rm -f $LOOP_MNT 2>/dev/null
@@ -81,7 +86,7 @@ _grow_loop()
                | _filter_mkfs 2>/dev/null
 
        echo "*** extend loop file"
-       xfs_io -c "pwrite $new_size $bsize" $LOOP_DEV 
+       xfs_io -c "pwrite $new_size $bsize" $LOOP_DEV | _filter_io
        echo "*** mount loop filesystem"
        mount -t xfs -o loop $LOOP_DEV $LOOP_MNT