1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Fix a mis-override of $PWD in test-utils.sh.

This commit is contained in:
Petr Rockai 2010-04-07 21:19:20 +00:00
parent f55021f487
commit 3103d5e2d9

View File

@ -75,7 +75,7 @@ prepare_clvmd() {
}
prepare_testroot() {
PWD="`pwd`"
OLDPWD="`pwd`"
PREFIX="LVMTEST$$"
trap_teardown
@ -122,7 +122,7 @@ teardown() {
unset devs # devs is set in prepare_devs()
test -n "$TESTDIR" && {
cd $PWD
cd $OLDPWD
rm -rf $TESTDIR || echo BLA
}
}