New test cases demonstrating fixed bugs, and the reason why
fmtcheck can't be used.
This commit is contained in:
parent
b3ab8f2011
commit
db1000c626
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
echo 1..36
|
||||
echo 1..56
|
||||
|
||||
REGRESSION_START($1)
|
||||
|
||||
@ -40,5 +40,25 @@ REGRESSION_TEST(`stutter', `jot - 9 0 -.5')
|
||||
REGRESSION_TEST(`block', `jot -b x 512')
|
||||
REGRESSION_TEST(`tabs', `jot -s, - 10 132 4')
|
||||
REGRESSION_TEST(`grep', `jot -s "" -b . 80')
|
||||
REGRESSION_TEST(`wf', `jot -w "a%.1fb" 10')
|
||||
REGRESSION_TEST(`we', `jot -w "a%eb" 10')
|
||||
REGRESSION_TEST(`wwe', `jot -w "a%-15eb" 10')
|
||||
REGRESSION_TEST(`wg', `jot -w "a%20gb" 10')
|
||||
REGRESSION_TEST(`wc', `jot -w "a%cb" 10 33 43')
|
||||
REGRESSION_TEST(`wgd', `jot -w "a%gb" 10 .2')
|
||||
REGRESSION_TEST(`wu', `jot -w "a%ub" 10')
|
||||
REGRESSION_TEST(`wo', `jot -w "a%ob" 10')
|
||||
REGRESSION_TEST(`wx', `jot -w "a%xb" 10')
|
||||
REGRESSION_TEST(`wX', `jot -w "a%Xb" 10')
|
||||
REGRESSION_TEST(`wXl', `jot -w "a%Xb" 10 2147483648')
|
||||
REGRESSION_TEST(`wdl', `jot -w "a%db" 10 2147483648')
|
||||
REGRESSION_TEST(`wxn', `jot -w "a%xb" 10 -5')
|
||||
REGRESSION_TEST(`wdn', `jot -w "a%db" 10 -5')
|
||||
REGRESSION_TEST(`wp1', `jot -w "%%%d%%%%" 10')
|
||||
REGRESSION_TEST(`wp2', `jot -w "%d%%d%%" 10')
|
||||
REGRESSION_TEST(`wp3', `jot -w "a%%A%%%d%%B%%b" 10')
|
||||
REGRESSION_TEST(`wp4', `jot -w "%%d%d%%d%%" 10')
|
||||
REGRESSION_TEST(`wp5', `jot -w ftp://www.example.com/pub/uploaded%%20files/disk%03d.iso 10')
|
||||
REGRESSION_TEST(`wp6', `jot -w "%d%" 10')
|
||||
|
||||
REGRESSION_END()
|
||||
|
10
tools/regression/usr.bin/jot/regress.wX.out
Normal file
10
tools/regression/usr.bin/jot/regress.wX.out
Normal file
@ -0,0 +1,10 @@
|
||||
a1b
|
||||
a2b
|
||||
a3b
|
||||
a4b
|
||||
a5b
|
||||
a6b
|
||||
a7b
|
||||
a8b
|
||||
a9b
|
||||
aAb
|
10
tools/regression/usr.bin/jot/regress.wXl.out
Normal file
10
tools/regression/usr.bin/jot/regress.wXl.out
Normal file
@ -0,0 +1,10 @@
|
||||
a80000000b
|
||||
a80000001b
|
||||
a80000002b
|
||||
a80000003b
|
||||
a80000004b
|
||||
a80000005b
|
||||
a80000006b
|
||||
a80000007b
|
||||
a80000008b
|
||||
a80000009b
|
10
tools/regression/usr.bin/jot/regress.wc.out
Normal file
10
tools/regression/usr.bin/jot/regress.wc.out
Normal file
@ -0,0 +1,10 @@
|
||||
a!b
|
||||
a"b
|
||||
a#b
|
||||
a$b
|
||||
a%b
|
||||
a&b
|
||||
a'b
|
||||
a(b
|
||||
a)b
|
||||
a+b
|
0
tools/regression/usr.bin/jot/regress.wdl.out
Normal file
0
tools/regression/usr.bin/jot/regress.wdl.out
Normal file
10
tools/regression/usr.bin/jot/regress.wdn.out
Normal file
10
tools/regression/usr.bin/jot/regress.wdn.out
Normal file
@ -0,0 +1,10 @@
|
||||
a-5b
|
||||
a-4b
|
||||
a-3b
|
||||
a-2b
|
||||
a-1b
|
||||
a0b
|
||||
a1b
|
||||
a2b
|
||||
a3b
|
||||
a4b
|
10
tools/regression/usr.bin/jot/regress.we.out
Normal file
10
tools/regression/usr.bin/jot/regress.we.out
Normal file
@ -0,0 +1,10 @@
|
||||
a1.000000e+00b
|
||||
a2.000000e+00b
|
||||
a3.000000e+00b
|
||||
a4.000000e+00b
|
||||
a5.000000e+00b
|
||||
a6.000000e+00b
|
||||
a7.000000e+00b
|
||||
a8.000000e+00b
|
||||
a9.000000e+00b
|
||||
a1.000000e+01b
|
10
tools/regression/usr.bin/jot/regress.wf.out
Normal file
10
tools/regression/usr.bin/jot/regress.wf.out
Normal file
@ -0,0 +1,10 @@
|
||||
a1.0b
|
||||
a2.0b
|
||||
a3.0b
|
||||
a4.0b
|
||||
a5.0b
|
||||
a6.0b
|
||||
a7.0b
|
||||
a8.0b
|
||||
a9.0b
|
||||
a10.0b
|
10
tools/regression/usr.bin/jot/regress.wg.out
Normal file
10
tools/regression/usr.bin/jot/regress.wg.out
Normal file
@ -0,0 +1,10 @@
|
||||
a 1b
|
||||
a 2b
|
||||
a 3b
|
||||
a 4b
|
||||
a 5b
|
||||
a 6b
|
||||
a 7b
|
||||
a 8b
|
||||
a 9b
|
||||
a 10b
|
10
tools/regression/usr.bin/jot/regress.wgd.out
Normal file
10
tools/regression/usr.bin/jot/regress.wgd.out
Normal file
@ -0,0 +1,10 @@
|
||||
a0.2b
|
||||
a1.2b
|
||||
a2.2b
|
||||
a3.2b
|
||||
a4.2b
|
||||
a5.2b
|
||||
a6.2b
|
||||
a7.2b
|
||||
a8.2b
|
||||
a9.2b
|
10
tools/regression/usr.bin/jot/regress.wo.out
Normal file
10
tools/regression/usr.bin/jot/regress.wo.out
Normal file
@ -0,0 +1,10 @@
|
||||
a1b
|
||||
a2b
|
||||
a3b
|
||||
a4b
|
||||
a5b
|
||||
a6b
|
||||
a7b
|
||||
a10b
|
||||
a11b
|
||||
a12b
|
10
tools/regression/usr.bin/jot/regress.wp1.out
Normal file
10
tools/regression/usr.bin/jot/regress.wp1.out
Normal file
@ -0,0 +1,10 @@
|
||||
%1%%
|
||||
%2%%
|
||||
%3%%
|
||||
%4%%
|
||||
%5%%
|
||||
%6%%
|
||||
%7%%
|
||||
%8%%
|
||||
%9%%
|
||||
%10%%
|
10
tools/regression/usr.bin/jot/regress.wp2.out
Normal file
10
tools/regression/usr.bin/jot/regress.wp2.out
Normal file
@ -0,0 +1,10 @@
|
||||
1%d%
|
||||
2%d%
|
||||
3%d%
|
||||
4%d%
|
||||
5%d%
|
||||
6%d%
|
||||
7%d%
|
||||
8%d%
|
||||
9%d%
|
||||
10%d%
|
10
tools/regression/usr.bin/jot/regress.wp3.out
Normal file
10
tools/regression/usr.bin/jot/regress.wp3.out
Normal file
@ -0,0 +1,10 @@
|
||||
a%A%1%B%b
|
||||
a%A%2%B%b
|
||||
a%A%3%B%b
|
||||
a%A%4%B%b
|
||||
a%A%5%B%b
|
||||
a%A%6%B%b
|
||||
a%A%7%B%b
|
||||
a%A%8%B%b
|
||||
a%A%9%B%b
|
||||
a%A%10%B%b
|
10
tools/regression/usr.bin/jot/regress.wp4.out
Normal file
10
tools/regression/usr.bin/jot/regress.wp4.out
Normal file
@ -0,0 +1,10 @@
|
||||
%d1%d%
|
||||
%d2%d%
|
||||
%d3%d%
|
||||
%d4%d%
|
||||
%d5%d%
|
||||
%d6%d%
|
||||
%d7%d%
|
||||
%d8%d%
|
||||
%d9%d%
|
||||
%d10%d%
|
10
tools/regression/usr.bin/jot/regress.wp5.out
Normal file
10
tools/regression/usr.bin/jot/regress.wp5.out
Normal file
@ -0,0 +1,10 @@
|
||||
ftp://www.example.com/pub/uploaded%20files/disk001.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk002.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk003.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk004.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk005.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk006.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk007.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk008.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk009.iso
|
||||
ftp://www.example.com/pub/uploaded%20files/disk010.iso
|
10
tools/regression/usr.bin/jot/regress.wp6.out
Normal file
10
tools/regression/usr.bin/jot/regress.wp6.out
Normal file
@ -0,0 +1,10 @@
|
||||
1%
|
||||
2%
|
||||
3%
|
||||
4%
|
||||
5%
|
||||
6%
|
||||
7%
|
||||
8%
|
||||
9%
|
||||
10%
|
10
tools/regression/usr.bin/jot/regress.wu.out
Normal file
10
tools/regression/usr.bin/jot/regress.wu.out
Normal file
@ -0,0 +1,10 @@
|
||||
a1b
|
||||
a2b
|
||||
a3b
|
||||
a4b
|
||||
a5b
|
||||
a6b
|
||||
a7b
|
||||
a8b
|
||||
a9b
|
||||
a10b
|
10
tools/regression/usr.bin/jot/regress.wwe.out
Normal file
10
tools/regression/usr.bin/jot/regress.wwe.out
Normal file
@ -0,0 +1,10 @@
|
||||
a1.000000e+00 b
|
||||
a2.000000e+00 b
|
||||
a3.000000e+00 b
|
||||
a4.000000e+00 b
|
||||
a5.000000e+00 b
|
||||
a6.000000e+00 b
|
||||
a7.000000e+00 b
|
||||
a8.000000e+00 b
|
||||
a9.000000e+00 b
|
||||
a1.000000e+01 b
|
10
tools/regression/usr.bin/jot/regress.wx.out
Normal file
10
tools/regression/usr.bin/jot/regress.wx.out
Normal file
@ -0,0 +1,10 @@
|
||||
a1b
|
||||
a2b
|
||||
a3b
|
||||
a4b
|
||||
a5b
|
||||
a6b
|
||||
a7b
|
||||
a8b
|
||||
a9b
|
||||
aab
|
0
tools/regression/usr.bin/jot/regress.wxn.out
Normal file
0
tools/regression/usr.bin/jot/regress.wxn.out
Normal file
Loading…
Reference in New Issue
Block a user