Lines Matching refs:testf

30 	printf 'test\n123\r456\r\n789\0z' >testf
32 install testf ""
39 printf 'test\n123\r456\r\n789\0z' >testf
41 install testf $dir/testf
45 printf 'test\n123\r456\r\n789\0z' >testf
46 atf_check install "$@" testf copyf
47 cmp testf copyf || atf_fail "bad copy"
48 [ ! testf -nt copyf ] || atf_fail "bad timestamp"
85 [ ! testf -ot copyf ] || atf_fail "bad timestamp 2"
89 printf 'test\n123\r456\r\n789\0z' >testf
91 atf_check -s not-exit:0 -o empty -e match:. install "$@" testf testf
92 cmp testf testf2 || atf_fail "file changed after self-copy attempt"
116 printf 'test\n123\r456\r\n789\0z' >testf
118 atf_check install "$@" testf otherf
119 cmp testf otherf || atf_fail "bad overwrite"
120 [ ! testf -nt otherf ] || atf_fail "bad timestamp"
144 printf 'test\n123\r456\r\n789\0z' >testf
146 atf_check install "$@" testf otherf
147 cmp testf otherf || atf_fail "bad overwrite"
148 [ ! testf -nt otherf ] || atf_fail "bad timestamp"
172 printf 'test\n123\r456\r\n789\0z' >testf
175 atf_check install -b -B.bak "$@" testf otherf
176 cmp testf otherf || atf_fail "bad overwrite"
177 [ ! testf -nt otherf ] || atf_fail "bad timestamp"
216 printf 'test\n123\r456\r\n789\0z' >testf
217 atf_check install -s "$@" testf copyf
218 [ ! testf -nt copyf ] || atf_fail "bad timestamp"
235 printf 'test\n123\r456\r\n789\0z' >testf
237 atf_check install -s "$@" testf copyf
238 [ ! testf -nt copyf ] || atf_fail "bad timestamp"
255 printf 'test\n123\r456\r\n789\0z' >testf
257 atf_check install -s "$@" testf copyf
258 [ ! testf -nt copyf ] || atf_fail "bad timestamp"
276 printf 'test\n123\r456\r\n789\0z' >testf
277 atf_check install -s testf copyf
278 [ ! testf -nt copyf ] || atf_fail "bad timestamp"
285 printf 'test\n123\r456\r\n789\0z' >testf
286 atf_check install -l h testf copyf
287 [ testf -ef copyf ] || atf_fail "not same file"
293 printf 'test\n123\r456\r\n789\0z' >testf
294 atf_check install -l s testf copyf
295 [ testf -ef copyf ] || atf_fail "not same file"
301 printf 'test\n123\r456\r\n789\0z' >testf
302 atf_check install -l sa testf copyf
303 [ testf -ef copyf ] || atf_fail "not same file"
314 printf 'test\n123\r456\r\n789\0z' >testf
315 atf_check install -l sr testf copyf
316 [ testf -ef copyf ] || atf_fail "not same file"
330 src_path=a/b/c/testf
351 src_path=a//b//c//testf
372 src_path=testf
432 printf "test" >testf
433 atf_check chown "$fu:$fg" testf
434 atf_check chmod "$m" testf
436 atf_check install testf testc
439 atf_check install -o "$cu" testf testc
442 atf_check install -g "$cg" testf testc
445 atf_check install -o "$cu" -g "$cg" testf testc
448 atf_check install -m "$cm" testf testc
451 atf_check install -o "$cu" -m "$cm" testf testc
454 atf_check install -g "$cg" -m "$cm" testf testc
457 atf_check install -o "$cu" -g "$cg" -m "$cm" testf testc
471 printf "test" >testf
472 atf_check chown "$fu:$fg" testf
473 atf_check chmod "$m" testf
475 atf_check install -U testf testc
478 atf_check install -U -o "$cu" testf testc
481 atf_check install -U -g "$cg" testf testc
484 atf_check install -U -o "$cu" -g "$cg" testf testc
487 atf_check install -U -m "$cm" testf testc
490 atf_check install -U -o "$cu" -m "$cm" testf testc
493 atf_check install -U -g "$cg" -m "$cm" testf testc
496 atf_check install -U -o "$cu" -g "$cg" -m "$cm" testf testc