1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +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 687603a144
commit dcecda51d8

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
}
}