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:
parent
f55021f487
commit
3103d5e2d9
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user