[lvm-devel] LVM2/test t-snapshot-autoumount-dmeventd.sh

mbroz at sourceware.org mbroz at sourceware.org
Wed Mar 2 13:49:30 UTC 2011


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mbroz at sourceware.org	2011-03-02 13:49:30

Modified files:
	test           : t-snapshot-autoumount-dmeventd.sh 

Log message:
	Fix test to use explicit /dev/mapper/ node, /proc/mounts should not change this...
	(failed on RHEL5)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/t-snapshot-autoumount-dmeventd.sh.diff?cvsroot=lvm2&r1=1.2&r2=1.3

--- LVM2/test/t-snapshot-autoumount-dmeventd.sh	2011/01/05 00:16:20	1.2
+++ LVM2/test/t-snapshot-autoumount-dmeventd.sh	2011/03/02 13:49:29	1.3
@@ -28,7 +28,7 @@
 lvchange --monitor y $vg/snap
 
 mkdir mnt
-mount $DM_DEV_DIR/$vg/snap mnt
+mount $DM_DEV_DIR/mapper/$vg-snap mnt
 mount
 cat /proc/mounts | grep $vg-snap
 




More information about the lvm-devel mailing list