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

Jim Meyering meyering at alioth.debian.org
Tue Apr 13 19:28:18 UTC 2010


 tests/t1700-ext-probe.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 34c9c11cbfe944587ceb22b96f61441c4b4328c5
Author: Jim Meyering <meyering at redhat.com>
Date:   Tue Apr 13 21:17:50 2010 +0200

    tests: propagate recent improvements to copied-from code
    
    * tests/t1700-ext-probe.sh: Fix typo s/2>1/2>&1/ and use
    a tighter regexp also in the preceding loop.
    Noted by Colin Watson.

diff --git a/tests/t1700-ext-probe.sh b/tests/t1700-ext-probe.sh
index 62ca8e5..e898381 100755
--- a/tests/t1700-ext-probe.sh
+++ b/tests/t1700-ext-probe.sh
@@ -40,8 +40,8 @@ for type in ext2 ext3 ext4; do
   mkfs.$type -F $dev >/dev/null || fail=1
 
   # probe the $type file system
-  parted -s $dev print >out 2>1 || fail=1
-  grep -w $type out || fail=1
+  parted -m -s $dev u s print >out 2>&1 || fail=1
+  grep '^1:.*:'$type'::;$' out || fail=1
 
 done
 



More information about the Parted-commits mailing list