Lines Matching +full:1 +full:- +full:of +full:- +full:4

8 # 1. Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
11 # notice, this list of conditions and the following disclaimer in the
16 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 atf_set "descr" "Verify the usage of option 'c'"
36 atf_check -s exit:0 -o inline:"1 2 3 4
38 " rs -c, 2 <<EOF
39 1,2,3,4,5,6,7,8
46 atf_set "descr" "Verify the usage of option 's'"
51 atf_check -s exit:0 -o inline:"1 2 3 4
53 " rs -s% 2 <<EOF
54 1%%2%%3%4%5%%%6%%%7%8
62 atf_set "descr" "Verify the usage of option 'C'"
67 atf_check -s exit:0 -o inline:"1,2,3,4,
69 " rs -C, 2 <<EOF
70 1 2 3 4 5 6 7 8
77 atf_set "descr" "Verify the usage of option 'S'"
82 atf_check -s exit:0 -o inline:"1,,2,,3,,4
84 " rs -S, 2 <<EOF
85 1 2 3 4 5 6 7 8
92 atf_set "descr" "Verify the usage of option 't'"
97 atf_check -s exit:0 -o inline:"1 4 7
100 " rs -t 3 <<EOF
101 1 2 3 4 5 6 7 8
108 atf_set "descr" "Verify the usage of option 'T'"
113 atf_check -s exit:0 -o inline:"1
116 " rs -T <<EOF
117 1 2 3
124 atf_set "descr" "Verify the usage of option 'k'"
129 atf_check -s exit:0 -o inline:"3 4 5
131 " rs -k 1 2 <<EOF
132 1 2
133 3 4 5 6
141 atf_set "descr" "Verify the usage of option 'K'"
146 atf_check -s exit:0 -o inline:"
147 " rs -K 1 < /dev/null
153 atf_set "descr" "Verify the usage of option 'g'"
158 atf_check -s exit:0 -o inline:"1 2 3 4
160 " rs -g 1 2 <<EOF
161 1 2 3 4 5 6 7 8
168 atf_set "descr" "Verify the usage of option 'G'"
173 atf_check -s exit:0 -o inline:"1 2 3 4
175 " rs -G 50 2 <<EOF
176 1 2 3 4 5 6 7 acbdefghij
183 atf_set "descr" "Verify the usage of option 'e'"
188 atf_check -s exit:0 -o inline:"
189 " rs -e < /dev/null
195 atf_set "descr" "Verify the usage of option 'n'"
200 atf_check -s exit:0 -o inline:"1 2 3
201 4 5
203 " rs -n 0 3 <<EOF
204 1 2 3
205 4 5
213 atf_set "descr" "Verify the usage of option 'y'"
218 atf_check -s exit:0 -o inline:"1 2 3
219 4 5 6
220 7 8 1
221 " rs -y 3 <<EOF
222 1 2 3 4 5 6 7 8
229 atf_set "descr" "Verify the usage of option 'h'"
234 atf_check -s exit:0 -o inline:"1 0
235 " rs -h < /dev/null
241 atf_set "descr" "Verify the usage of option 'H'"
246 atf_check -s exit:0 -o inline:" 0 line 1
247 1 0
248 " rs -H < /dev/null
254 atf_set "descr" "Verify the usage of option 'j'"
259 atf_check -s exit:0 -o inline:" 1 2 3
261 " rs -j 2 <<EOF
262 1 2 3 abc def ghi
269 atf_set "descr" "Verify the usage of option 'm'"
274 atf_check -s exit:0 -o inline:"1 2 3
276 " rs -m 2 <<EOF
277 1 2 3 abc def ghi
284 atf_set "descr" "Verify the usage of option 'z'"
289 atf_check -s exit:0 -o inline:"1 2 3 4
291 " rs -z 2 <<EOF
292 1 2 3 4 5 6 7 acbdefghij
304 atf_check -s not-exit:0 -e inline:"rs: option requires an argument -- w
305 usage: rs [-[csCS][x][kKgGw][N]tTeEnyjhHmz] [rows [cols]]
306 " rs -w
312 …atf_set "descr" "Verify that rs(1) executes successfully and produces a valid output when invoked …
317 atf_check -s exit:0 -o inline:"1 2 3 4 5 6 7 8
319 1 2 3 4 5 6 7 8
331 atf_check -s exit:0 -o inline:"1 2 3 4
334 1 2 3 4 5 6 7 8
346 atf_check -s exit:0 -o inline:"1 2 3
347 4 5 6
350 1 2 3 4 5 6 7 8
357 atf_set "descr" "Simple output with 4 rows"
362 atf_check -s exit:0 -o inline:"1 2
363 3 4
366 " rs 4 <<EOF
367 1 2 3 4 5 6 7 8