xfstests: fix _filter_ro_mount and make xfs/200 pass with old mount
[xfstests-dev.git] / common / filter
index 2390ec0dca9e46c26649ca99a3c06d7f57f6c40e..e37ce690cdd1211abeb19b36f299917725f0f827 100644 (file)
@@ -308,7 +308,7 @@ _filter_fstrim()
 # Older mount output referred to "block device" when mounting RO devices
 # It's gone in newer versions
 _filter_ro_mount() {
-       sed -e "s/mount: block device//g" \
+       sed -e "s/mount: block device/mount:/g" \
            -e "s/mount: cannot mount block device/mount: cannot mount/g"
 }