Lines Matching full:diff
36 diff -u foo_start foo_full > foo_start2full.diff
37 diff -u foo_end foo_full > foo_end2full.diff
38 diff -u foo_middle foo_full > foo_mid2full.diff
42 "cat foo_start2full.diff | wc -l | tr -d '[:space:]'"
44 "cat foo_end2full.diff | wc -l | tr -d '[:space:]'"
46 "cat foo_mid2full.diff | wc -l | tr -d '[:space:]'"
49 atf_check -o ignore patch foo_start foo_start2full.diff \
51 atf_check -o ignore patch foo_end foo_end2full.diff \
53 atf_check -o ignore patch foo_middle foo_mid2full.diff \
57 atf_check -o ignore diff foo_start2full foo_full
58 atf_check -o ignore diff foo_end2full foo_full
59 atf_check -o ignore diff foo_mid2full foo_full
70 # First; PR74127-repro.diff should not have applied, but it instead
74 "$(atf_get_srcdir)/PR74127-repro.diff"
76 # Let's extend that and make sure a similarly ill-contexted diff does
80 "$(atf_get_srcdir)/PR74127-line.diff"
85 "$(atf_get_srcdir)/PR74127-good.diff"
93 diff -u /dev/null foo > foo.diff
96 atf_check -x "patch -s < foo.diff"
101 # commits. If a file is created by a diff, patch(1) will happily duplicate the
102 # contents as many times as you apply the diff. It should instead detect that
114 diff -u /dev/null foo > foo.diff
117 atf_check -s not-exit:0 -o ignore -x "patch -Ns < foo.diff"
119 atf_check -s not-exit:0 -o ignore -x "patch -fs < foo.diff"
128 diff -u /dev/null foo > foo.diff
132 atf_check -x "patch -Rs < foo.diff"
140 atf_check -x "patch -Rs < foo.diff"
150 cat >foo.diff <<EOF
158 patch <foo.diff