aboutsummaryrefslogtreecommitdiff
path: root/tests/seq.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-01-31 16:28:43 -0600
committerRob Landley <rob@landley.net>2016-01-31 16:28:43 -0600
commit3f3049c2f1b225f244fe3c1205935c48c542a055 (patch)
tree5dea35c50d581d02d3f7855af868e5ad69ef3c9a /tests/seq.test
parent324a4a018a4e949d2262ca622722948712ec4a4d (diff)
downloadtoybox-3f3049c2f1b225f244fe3c1205935c48c542a055.tar.gz
More testsuite tweaks.
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" "" ""