Lines Matching +full:in +full:-
29 atf_check -o file:$(atf_get_srcdir)/simple.out -s eq:1 \
30 diff "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in"
32 atf_check -o file:$(atf_get_srcdir)/simple_e.out -s eq:1 \
33 diff -e "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in"
35 atf_check -o file:$(atf_get_srcdir)/simple_u.out -s eq:1 \
36 diff -u -L input1 -L input2 "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in"
38 atf_check -o file:$(atf_get_srcdir)/simple_n.out -s eq:1 \
39 diff -n "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in"
41 …atf_check -o inline:"Files $(atf_get_srcdir)/input1.in and $(atf_get_srcdir)/input2.in differ\n" -…
42 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input2.in"
45 diff -q "$(atf_get_srcdir)/input1.in" "$(atf_get_srcdir)/input1.in"
47 atf_check -o file:$(atf_get_srcdir)/simple_i.out -s eq:1 \
48 diff -i "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c2.in"
50 atf_check -o file:$(atf_get_srcdir)/simple_w.out -s eq:1 \
51 diff -w "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c2.in"
53 atf_check -o file:$(atf_get_srcdir)/simple_b.out -s eq:1 \
54 diff -b "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c2.in"
56 atf_check -o file:$(atf_get_srcdir)/simple_p.out -s eq:1 \
57 …diff --label input_c1.in --label input_c2.in -p "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)…
62 atf_check -o file:$(atf_get_srcdir)/unified_p.out -s eq:1 \
63 …diff -up -L input_c1.in -L input_c2.in "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c…
64 atf_check -o file:$(atf_get_srcdir)/unified_9999.out -s eq:1 \
65 …diff -u9999 -L input_c1.in -L input_c2.in "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input…
70 printf 'a\nb\r\nc\n' > b230049_a.in
71 printf 'a\r\nb\r\nc\r\n' > b230049_b.in
72 atf_check -o empty -s eq:0 \
73 diff -up --strip-trailing-cr -L b230049_a.in -L b230049_b.in \
74 b230049_a.in b230049_b.in
79 printf 'a\nX\nc\n' > stripcr_o_X.in
80 printf 'a\r\nY\r\nc\r\n' > stripcr_o_Y.in
81 atf_check -o "file:$(atf_get_srcdir)/strip_o.out" -s eq:1 \
82 diff -L1 -L2 -u --strip-trailing-cr stripcr_o_X.in stripcr_o_Y.in
87 printf 'a b\n' > b252515_a.in
88 printf 'a b\n' > b252515_b.in
89 atf_check -o empty -s eq:0 \
90 diff -qw b252515_a.in b252515_b.in
95 printf 'a\nb\nn' > b278988.a.in
96 printf 'a\n\nb\nn' > b278988.b.in
97 atf_check -o empty -s eq:0 \
98 diff -Bw b278988.a.in b278988.b.in
106 touch -d 2015-04-03T01:02:03 empty
107 touch -d 2016-12-22T11:22:33 hello
108 atf_check -o "file:$(atf_get_srcdir)/header.out" -s eq:1 \
109 diff -u empty hello
117 touch -d 2015-04-03T01:02:03.123456789 empty
118 touch -d 2016-12-22T11:22:33.987654321 hello
119 atf_check -o "file:$(atf_get_srcdir)/header_ns.out" -s eq:1 \
120 diff -u empty hello
125 atf_check -o file:$(atf_get_srcdir)/ifdef.out -s eq:1 \
126 diff -D PLOP "$(atf_get_srcdir)/input_c1.in" \
127 "$(atf_get_srcdir)/input_c2.in"
132 atf_check -o file:$(atf_get_srcdir)/group-format.out -s eq:1 \
133 diff --changed-group-format='<<<<<<< (local)
136 ' "$(atf_get_srcdir)/input_c1.in" "$(atf_get_srcdir)/input_c2.in"
141 atf_check -o save:A printf "A\nB\nC\n"
142 atf_check -o save:B printf "D\nB\nE\n"
147 atf_check -o match:"$exp_output" -s exit:1 \
148 diff --side-by-side A B
149 atf_check -o match:"$exp_output" -s exit:1 \
150 diff -y A B
151 atf_check -o match:"$exp_output_suppressed" -s exit:1 \
152 diff -y --suppress-common-lines A B
153 atf_check -o match:"$exp_output_suppressed" -s exit:1 \
154 diff -W 65 -y --suppress-common-lines A B
159 file_a=$(atf_get_srcdir)/side_by_side_tabbed_a.in
160 file_b=$(atf_get_srcdir)/side_by_side_tabbed_b.in
162 atf_check -o save:diffout -s not-exit:0 \
163 diff -y ${file_a} ${file_b}
164 atf_check -o save:diffout_expanded -s not-exit:0 \
165 diff -yt ${file_a} ${file_b}
167 atf_check -o not-empty grep -Ee 'file A.+file B' diffout
168 atf_check -o not-empty grep -Ee 'file A.+file B' diffout_expanded
170 atf_check -o not-empty grep -Ee 'tabs.+tabs' diffout
171 atf_check -o not-empty grep -Ee 'tabs.+tabs' diffout_expanded
178 atf_check -x "echo 1 > A/test-file"
179 atf_check -x "echo 2 > B/test-file"
181 atf_check cp -Rf A C
182 atf_check cp -Rf A D
184 atf_check -x "echo 3 > D/another-test-file"
187 -s exit:1 \
188 -o inline:"Files A/test-file and B/test-file differ\n" \
189 diff -rq A B
191 atf_check diff -rq A C
194 -s exit:1 \
195 -o inline:"Only in D: another-test-file\n" \
196 diff -rq A D
199 -s exit:1 \
200 -o inline:"Files A/another-test-file and D/another-test-file differ\n" \
201 diff -Nrq A D
206 atf_check -x 'printf "A\nB\n" > A'
207 atf_check -x 'printf "A\n\nB\n" > B'
208 atf_check -x 'printf "A\n \nB\n" > C'
209 atf_check -x 'printf "A\nC\nB\n" > D'
210 atf_check -x 'printf "A\nB\nC\nD\nE\nF\nG\nH" > E'
211 atf_check -x 'printf "A\n\nB\nC\nD\nE\nF\nX\nH" > F'
213 atf_check -s exit:0 -o inline:"" diff -B A B
214 atf_check -s exit:1 -o file:"$(atf_get_srcdir)/Bflag_C.out" diff -B A C
215 atf_check -s exit:1 -o file:"$(atf_get_srcdir)/Bflag_D.out" diff -B A D
216 atf_check -s exit:1 -o file:"$(atf_get_srcdir)/Bflag_F.out" diff -B E F
221 atf_check -x 'printf "foo" > A'
223 atf_check -s exit:1 -o ignore -e ignore diff -N A NOFILE
224 atf_check -s exit:1 -o ignore -e ignore diff -N NOFILE A
225 atf_check -s exit:2 -o ignore -e ignore diff -N NOFILE1 NOFILE2
233 atf_check -s exit:1 \
234 -o inline:"1c1\n< A\n---\n> B\n" \
235 diff -t --tabsize 1 A B
243 atf_check -s exit:2 -e ignore diff -c -u A B
244 atf_check -s exit:2 -e ignore diff -e -f A B
245 atf_check -s exit:2 -e ignore diff -y -q A B
246 atf_check -s exit:2 -e ignore diff -q -u A B
247 atf_check -s exit:2 -e ignore diff -q -c A B
248 atf_check -s exit:2 -e ignore diff --normal -c A B
249 atf_check -s exit:2 -e ignore diff -c --normal A B
251 atf_check -s exit:1 -o ignore -e ignore diff -u -u A B
252 atf_check -s exit:1 -o ignore -e ignore diff -e -e A B
253 atf_check -s exit:1 -o ignore -e ignore diff -y -y A B
254 atf_check -s exit:1 -o ignore -e ignore diff -q -q A B
255 atf_check -s exit:1 -o ignore -e ignore diff -c -c A B
256 atf_check -s exit:1 -o ignore -e ignore diff --normal --normal A B
263 atf_check -o inline:"Files hello and world are identical\n" \
264 -s exit:0 diff --label hello --label world -s A A
266 atf_check -o inline:"Binary files hello and world differ\n" \
267 -s exit:1 diff --label hello --label world `which diff` `which ls`
278 atf_check -s exit:0 -o match:"are identical" \
279 diff -s A A
280 atf_check -s exit:1 -o not-match:"are identical" \
281 diff -s A B
282 chmod -r B
283 atf_check -s exit:2 -e inline:"diff: B: Permission denied\n" \
284 -o empty diff -s A B
295 atf_check -s exit:1 \
296 -o inline:"--- A\n+++ B\n@@ -1 +1 @@\n-\tA\n+\tB\n" \
297 diff --label A --label B -u A B
303 yes 012345678901234567890123456789012345678901234567890 | head -n 174 > A
308 atf_check -o inline:"Binary files A and B differ\n" -s exit:1 diff A B
309 atf_check -o inline:"176c\nx\n.\n" -s exit:1 diff -ae A B
314 atf_check -o file:$(atf_get_srcdir)/functionname_c.out -s exit:1 \
315 diff -u -p -L functionname.in -L functionname_c.in \
316 "$(atf_get_srcdir)/functionname.in" "$(atf_get_srcdir)/functionname_c.in"
318 atf_check -o file:$(atf_get_srcdir)/functionname_objcm.out -s exit:1 \
319 diff -u -p -L functionname.in -L functionname_objcm.in \
320 "$(atf_get_srcdir)/functionname.in" "$(atf_get_srcdir)/functionname_objcm.in"
322 atf_check -o file:$(atf_get_srcdir)/functionname_objcclassm.out -s exit:1 \
323 diff -u -p -L functionname.in -L functionname_objcclassm.in \
324 "$(atf_get_srcdir)/functionname.in" "$(atf_get_srcdir)/functionname_objcclassm.in"
331 atf_check -x "echo 1 > A/test-file"
332 atf_check -x "echo 1 > test-file"
333 atf_check -x "echo 1 > test-file2"
335 atf_check ln -s $(pwd)/test-file B/test-file
337 atf_check -o empty -s exit:0 diff -r A B
338 atf_check -o inline:"File A/test-file is a file while file B/test-file is a symbolic link\n" \
339 -s exit:1 diff -r --no-dereference A B
342 atf_check rm A/test-file
344 atf_check ln -s $(pwd)/test-file A/test-file
345 atf_check -o empty -s exit:0 diff -r A B
346 atf_check -o empty -s exit:0 diff -r --no-dereference A B
349 atf_check unlink A/test-file
350 atf_check ln -s $(pwd)/test-file2 A/test-file
352 atf_check -o empty -s exit:0 diff -r A B
353 …atf_check -o inline:"Symbolic links A/test-file and B/test-file differ\n" -s exit:1 diff -r --no-d…
361 atf_check -x "echo hello > A/foo"
362 atf_check -x "echo hello > B/FOO"
364 atf_check -o empty -s exit:0 diff -u -r --ignore-file-name-case A B