[lvm-devel] LVM2/test test-utils.sh
mornfall at sourceware.org
mornfall at sourceware.org
Wed Apr 7 21:19:21 UTC 2010
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-04-07 21:19:21
Modified files:
test : test-utils.sh
Log message:
Fix a mis-override of $PWD in test-utils.sh.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/test-utils.sh.diff?cvsroot=lvm2&r1=1.31&r2=1.32
--- LVM2/test/test-utils.sh 2010/04/07 16:04:22 1.31
+++ LVM2/test/test-utils.sh 2010/04/07 21:19:20 1.32
@@ -75,7 +75,7 @@
}
prepare_testroot() {
- PWD="`pwd`"
+ OLDPWD="`pwd`"
PREFIX="LVMTEST$$"
trap_teardown
@@ -122,7 +122,7 @@
unset devs # devs is set in prepare_devs()
test -n "$TESTDIR" && {
- cd $PWD
+ cd $OLDPWD
rm -rf $TESTDIR || echo BLA
}
}
More information about the lvm-devel
mailing list