Skip to contentSkip to conversation

master - test: Use correct path to /dev in lvchange-raid.sh.

PATCH Petr Rockai 1 participant 1 message Mar 5, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3c9887467f3c33d5ea10503c74ad85c4b119d3df
Commit:        3c9887467f3c33d5ea10503c74ad85c4b119d3df
Parent:        08aedff1fc86d731f19993c259aaeee19cad7b8c
Author:        Petr Rockai <[email protected]>
AuthorDate:    Wed Mar 5 10:21:49 2014 +0100
Committer:     Petr Rockai <[email protected]>
CommitterDate: Wed Mar 5 10:22:39 2014 +0100

test: Use correct path to /dev in lvchange-raid.sh.

---
 test/shell/lvchange-raid.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvchange-raid.sh +1 -1
index 8fc91a3..0807fff 100644
@@ -216,7 +216,7 @@ run_refresh_check() {
 
 	# Disable dev2 and do some I/O to make the kernel notice
 	aux disable_dev "$dev2"
-	dd if=/dev/urandom of=/dev/$sizelv bs=1k count=$size
+	dd if=/dev/urandom of=$DM_DEV_DIR/$sizelv bs=1k count=$size
 	sync
 
 	# Check for 'p'artial flag