Add the examples from the manual page.
This commit is contained in:
parent
3b5adecb00
commit
0dc97cf078
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164041
BIN
tools/regression/usr.bin/jot/regress.ascii.out
Normal file
BIN
tools/regression/usr.bin/jot/regress.ascii.out
Normal file
Binary file not shown.
512
tools/regression/usr.bin/jot/regress.block.out
Normal file
512
tools/regression/usr.bin/jot/regress.block.out
Normal file
@ -0,0 +1,512 @@
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
||||
x
|
30
tools/regression/usr.bin/jot/regress.ed.out
Normal file
30
tools/regression/usr.bin/jot/regress.ed.out
Normal file
@ -0,0 +1,30 @@
|
||||
2s/old/new/
|
||||
7s/old/new/
|
||||
12s/old/new/
|
||||
17s/old/new/
|
||||
22s/old/new/
|
||||
27s/old/new/
|
||||
32s/old/new/
|
||||
37s/old/new/
|
||||
42s/old/new/
|
||||
47s/old/new/
|
||||
52s/old/new/
|
||||
57s/old/new/
|
||||
62s/old/new/
|
||||
67s/old/new/
|
||||
72s/old/new/
|
||||
77s/old/new/
|
||||
82s/old/new/
|
||||
87s/old/new/
|
||||
92s/old/new/
|
||||
97s/old/new/
|
||||
102s/old/new/
|
||||
107s/old/new/
|
||||
112s/old/new/
|
||||
117s/old/new/
|
||||
122s/old/new/
|
||||
127s/old/new/
|
||||
132s/old/new/
|
||||
137s/old/new/
|
||||
142s/old/new/
|
||||
147s/old/new/
|
1
tools/regression/usr.bin/jot/regress.grep.out
Normal file
1
tools/regression/usr.bin/jot/regress.grep.out
Normal file
@ -0,0 +1 @@
|
||||
................................................................................
|
21
tools/regression/usr.bin/jot/regress.n21.out
Normal file
21
tools/regression/usr.bin/jot/regress.n21.out
Normal file
@ -0,0 +1,21 @@
|
||||
-1.00
|
||||
-0.90
|
||||
-0.80
|
||||
-0.70
|
||||
-0.60
|
||||
-0.50
|
||||
-0.40
|
||||
-0.30
|
||||
-0.20
|
||||
-0.10
|
||||
-0.00
|
||||
0.10
|
||||
0.20
|
||||
0.30
|
||||
0.40
|
||||
0.50
|
||||
0.60
|
||||
0.70
|
||||
0.80
|
||||
0.90
|
||||
1.00
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
echo 1..28
|
||||
echo 1..36
|
||||
|
||||
REGRESSION_START($1)
|
||||
|
||||
@ -31,6 +31,14 @@ REGRESSION_TEST(`hddd2', `jot 30 - - -')
|
||||
REGRESSION_TEST(`dhhh2', `jot - 20 160 2')
|
||||
REGRESSION_TEST(`dhhd2', `jot - 20 160 -')
|
||||
REGRESSION_TEST(`ddhh2', `jot - - 160 2')
|
||||
REGRESSION_TEST(`ddhd2', `jot - - 160 -')
|
||||
REGRESSION_TEST(`n21', `jot 21 -1 1.00')
|
||||
REGRESSION_TEST(`ascii', `jot -c 128 0')
|
||||
REGRESSION_TEST(`xaa', `jot -w xa%c 26 a')
|
||||
REGRESSION_TEST(`yes', `jot -b yes 10')
|
||||
REGRESSION_TEST(`ed', `jot -w %ds/old/new/ 30 2 - 5')
|
||||
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_END()
|
||||
|
19
tools/regression/usr.bin/jot/regress.stutter.out
Normal file
19
tools/regression/usr.bin/jot/regress.stutter.out
Normal file
@ -0,0 +1,19 @@
|
||||
9
|
||||
8
|
||||
8
|
||||
8
|
||||
7
|
||||
6
|
||||
6
|
||||
6
|
||||
5
|
||||
4
|
||||
4
|
||||
4
|
||||
3
|
||||
2
|
||||
2
|
||||
2
|
||||
1
|
||||
0
|
||||
0
|
1
tools/regression/usr.bin/jot/regress.tabs.out
Normal file
1
tools/regression/usr.bin/jot/regress.tabs.out
Normal file
@ -0,0 +1 @@
|
||||
10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130
|
26
tools/regression/usr.bin/jot/regress.xaa.out
Normal file
26
tools/regression/usr.bin/jot/regress.xaa.out
Normal file
@ -0,0 +1,26 @@
|
||||
xaa
|
||||
xab
|
||||
xac
|
||||
xad
|
||||
xae
|
||||
xaf
|
||||
xag
|
||||
xah
|
||||
xai
|
||||
xaj
|
||||
xak
|
||||
xal
|
||||
xam
|
||||
xan
|
||||
xao
|
||||
xap
|
||||
xaq
|
||||
xar
|
||||
xas
|
||||
xat
|
||||
xau
|
||||
xav
|
||||
xaw
|
||||
xax
|
||||
xay
|
||||
xaz
|
10
tools/regression/usr.bin/jot/regress.yes.out
Normal file
10
tools/regression/usr.bin/jot/regress.yes.out
Normal file
@ -0,0 +1,10 @@
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
Loading…
Reference in New Issue
Block a user