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:
parent
687603a144
commit
dcecda51d8
@ -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