aboutsummaryrefslogtreecommitdiff
path: root/tests/seq.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/seq.test')
-rwxr-xr-xtests/seq.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/seq.test b/tests/seq.test
index 4d23f8e2..59966172 100755
--- a/tests/seq.test
+++ b/tests/seq.test
@@ -28,14 +28,14 @@ testing "seq separator and format string" "seq -f \%03g -s \; 5 -1 0" "005;004;0
# Test -f format filtering
for i in %f %e %g "boo %f yah" "% f" %-1.2f %+-f "%+ - f" %.2f %3.f "%'.2f" \
- %%%f%% %%%f%%%
+ %%%f%%
do
testing "seq filter -f \"$i\"" "seq -f \"$i\" 1 3 > /dev/null && echo yes" \
"yes\n" "" ""
done
# Test -f format filtering failures
for i in %d %s "" "boo %f %f yah" "%*f" %-1.2.3f '%2$f' %1-f "%1 f" \
- %2..2f
+ %2..2f %%%f%%%
do
testing "seq filter reject -f '$i'" \
"seq -f '$i' 1 3 2>/dev/null || echo no" "no\n" "" ""