aboutsummaryrefslogtreecommitdiff
path: root/scripts/test/seq.test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test/seq.test')
-rwxr-xr-xscripts/test/seq.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/test/seq.test b/scripts/test/seq.test
index d255f82d..3f3b4099 100755
--- a/scripts/test/seq.test
+++ b/scripts/test/seq.test
@@ -22,4 +22,7 @@ testing "seq count wrong way #2" "seq 8 2 4" "" "" ""
testing "seq count by .3" "seq 3 .3 4" "3\n3.3\n3.6\n3.9\n" "" ""
testing "seq count by -.9" "seq .7 -.9 -2.2" "0.7\n-0.2\n-1.1\n-2\n" "" ""
testing "seq count by zero" "seq 4 0 8 | head -n 10" "" "" ""
+testing "seq separator -" "seq -s - 1 3" "1-2-3\n" "" ""
+testing "seq format string" 'seq -f %+01g -10 5 10' "-10\n-5\n+0\n+5\n+10\n" "" ""
+testing "seq separator and format string" "seq -f \%03g -s \; 5 -1 0" "005;004;003;002;001;000\n" "" ""