1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-24 17:57:48 +03:00

tests: drop unneeded cat

This commit is contained in:
Zdenek Kabelac 2017-07-06 19:42:15 +02:00
parent eba96a9720
commit 2d96b758e4

View File

@ -38,7 +38,7 @@ mount -o errors=remount-ro "$DM_DEV_DIR/mapper/$vg-snap" "$mntdir"
test "$(dmsetup info -c --noheadings -o open $vg-snap)" -eq 1
cat /proc/mounts | grep "$mntdir"
grep "$mntdir" /proc/mounts
# overfill 4M snapshot (with metadata)
not dd if=/dev/zero of="$mntdir/file$1" bs=1M count=4 conv=fdatasync
@ -52,6 +52,6 @@ for i in {1..100}; do
test "$(dmsetup info -c --noheadings -o open $vg-snap)" -eq 0 && break
done
cat /proc/mounts | not grep "$mntdir"
not grep "$mntdir" /proc/mounts
vgremove -f $vg