[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Thu May 24 16:21:49 UTC 2007


 tests/test-lib.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9b20990eb4491dcc626261a22f4f240abd9b3f74
Author: Jim Meyering <jim at meyering.net>
Date:   Thu May 24 18:21:43 2007 +0200

    Fix typo in privs-required test setup.
    * tests/test-lib.sh: Fix typo: s/\$parted/$parted_/.

diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index 59f85a4..050b967 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -223,8 +223,8 @@ if test $skip_ = 0 && test "$erasable_device_required_" != ''; then
   if test "$DEVICE_TO_ERASE" != '' && test "$DEVICE_TO_ERASE_SIZE" != ''; then
     dev_=$DEVICE_TO_ERASE
     sz=$DEVICE_TO_ERASE_SIZE
-    parted_output=$($parted -s $dev_ print) || fail="no such device: $dev_"
-    $parted -s $dev_ print|grep "^Disk $dev_: $sz$" \
+    parted_output=$($parted_ -s $dev_ print) || fail="no such device: $dev_"
+    $parted_ -s $dev_ print|grep "^Disk $dev_: $sz$" \
 	> /dev/null || fail="actual device size is not $sz"
     # Try to see if $dev_ or any of its partitions is mounted.
     # This is not reliable.  FIXME: find a better way.



More information about the Parted-commits mailing list