[PATCH] * dm-utils: Restore uses of $test_dir_rand_.

Jim Meyering meyering at redhat.com
Fri Jun 6 07:05:35 UTC 2008


---
 tests/dm-utils.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/dm-utils.sh b/tests/dm-utils.sh
index e91b8e0..a1c907b 100644
--- a/tests/dm-utils.sh
+++ b/tests/dm-utils.sh
@@ -62,12 +62,12 @@ dmsetup_has_dm_devdir_support_()
 # set up private /dev and /etc
 init_root_dir_()
 {
-  test -n "$test_dir_" \
+  test -n "$test_dir_rand_" \
     || error "Internal error: called init_root_dir_ before" \
-      " defining $test_dir_"
+      "defining \$test_dir_rand_"

   # Define these two globals.
-  G_root_=3D$test_dir_/root
+  G_root_=3D$test_dir_rand_/root
   G_dev_=3D$G_root_/dev

   export LVM_SYSTEM_DIR=3D$G_root_/etc
--=20
1.5.6.rc0.30.g7c3f3




More information about the parted-devel mailing list