[PATCH] * test-lib.sh: Guard against bogus $device_mapper_required= value in env.
Jim Meyering
meyering at redhat.com
Fri Jun 6 07:38:44 UTC 2008
---
tests/test-lib.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index e967545..8b76f6b 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -287,7 +287,7 @@ done
test_dir_rand_=3D$($abs_top_srcdir/build-aux/mktempd $test_dir_ parted-$th=
is_test.XXXXXXXXXX) \
|| error "failed to create temporary directory in $test_dir_"
-if test $skip_ =3D 0 && test "$device_mapper_required_" !=3D ''; then
+if test $skip_ =3D 0 && test "x$device_mapper_required_" !=3D 'x'; then
. $abs_top_srcdir/tests/dm-utils.sh || exit 1
fi
--=20
1.5.6.rc0.30.g7c3f3
More information about the parted-devel
mailing list