Lines Matching refs:diff
37 diff -u foo_start foo_full > foo_start2full.diff
38 diff -u foo_end foo_full > foo_end2full.diff
39 diff -u foo_middle foo_full > foo_mid2full.diff
43 "cat foo_start2full.diff | wc -l | tr -d '[:space:]'"
45 "cat foo_end2full.diff | wc -l | tr -d '[:space:]'"
47 "cat foo_mid2full.diff | wc -l | tr -d '[:space:]'"
50 atf_check -o ignore patch foo_start foo_start2full.diff \
52 atf_check -o ignore patch foo_end foo_end2full.diff \
54 atf_check -o ignore patch foo_middle foo_mid2full.diff \
58 atf_check -o ignore diff foo_start2full foo_full
59 atf_check -o ignore diff foo_end2full foo_full
60 atf_check -o ignore diff foo_mid2full foo_full
71 # First; PR74127-repro.diff should not have applied, but it instead
75 "$(atf_get_srcdir)/PR74127-repro.diff"
77 # Let's extend that and make sure a similarly ill-contexted diff does
81 "$(atf_get_srcdir)/PR74127-line.diff"
86 "$(atf_get_srcdir)/PR74127-good.diff"
94 diff -u /dev/null foo > foo.diff
97 atf_check -x "patch -s < foo.diff"
102 # commits. If a file is created by a diff, patch(1) will happily duplicate the
103 # contents as many times as you apply the diff. It should instead detect that
115 diff -u /dev/null foo > foo.diff
118 atf_check -s not-exit:0 -o ignore -x "patch -Ns < foo.diff"
120 atf_check -s not-exit:0 -o ignore -x "patch -fs < foo.diff"
129 diff -u /dev/null foo > foo.diff
133 atf_check -x "patch -Rs < foo.diff"
141 atf_check -x "patch -Rs < foo.diff"