From 34c9c11cbfe944587ceb22b96f61441c4b4328c5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 13 Apr 2010 21:17:50 +0200 Subject: [PATCH] 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. --- tests/t1700-ext-probe.sh | 4 ++-- 1 file 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 -- 2.11.0