mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: fix condition for exclusion of /dev
This commit is contained in:
parent
d5b37f24f4
commit
edcc410835
@ -79,7 +79,7 @@ if test -z "$SKIP_ROOT_DM_CHECK" ; then
|
||||
fi
|
||||
|
||||
test -n "$LVM_TEST_DIR" || LVM_TEST_DIR=${TMPDIR:-/tmp}
|
||||
test "$LVM_TEST_DIR" = "/dev" || die "Setting LVM_TEST_DIR=/dev is not supported"
|
||||
test "$LVM_TEST_DIR" = "/dev" && die "Setting LVM_TEST_DIR=/dev is not supported!"
|
||||
|
||||
TESTDIR=$(mkdtemp "$LVM_TEST_DIR" "$PREFIX.XXXXXXXXXX") || \
|
||||
die "failed to create temporary directory in \"$LVM_TEST_DIR\""
|
||||
|
Loading…
Reference in New Issue
Block a user