[PATCH] tests: propagate recent improvements to copied-from code
Jim Meyering
meyering at redhat.com
Tue Apr 13 19:17:50 UTC 2010
* 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.
---
tests/t1700-ext-probe.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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
--
1.7.1.rc1.248.gcefbb
More information about the parted-devel
mailing list