Skip to contentSkip to conversation

master - tests: dd needs to fail in this case

PATCH Zdenek Kabelac 1 participant 1 message May 2, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=75aa3e951f2e22a790fe2425f3b3ef71f292be2e
Commit:        75aa3e951f2e22a790fe2425f3b3ef71f292be2e
Parent:        224e30a4b18e66f3c269ed97a1ab14229d3e7ec7
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun May 3 01:06:20 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sun May 3 01:06:20 2015 +0200

tests: dd needs to fail in this case

---
 test/shell/snapshot-autoumount-dmeventd.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/snapshot-autoumount-dmeventd.sh +1 -1
index db4062e..e059684 100644
@@ -32,7 +32,7 @@ mkdir "$mntdir"
 mount "$DM_DEV_DIR/mapper/$vg-snap" "$mntdir"
 mount
 cat /proc/mounts | grep "$mntdir"
-dd if=/dev/zero of="$mntdir/file$1" bs=1M count=5 oflag=direct
+not dd if=/dev/zero of="$mntdir/file$1" bs=1M count=5 oflag=direct
 
 #dmeventd only checks every 10 seconds :(
 for i in {1..10}; do