freebsd-dev/usr.bin/patch
Kyle Evans b27524973c patch(1): add some basic tests
Summary:
- basic: test application of patches created by diff -u at the
  beginning/middle/end of file, which have differing amounts of context
  before and after chunks being added
- limited_ctx: stems from PR 74127 in which a rogue line was getting added
  when the patch should have been rejected. Similar behavior was
  reproducible with larger contexts near the beginning/end of a file. See
  r326084 for details
- file_creation: patch sourced from /dev/null should create the file
- file_nodupe: said patch sourced from /dev/null shouldn't dupe the contents
  when re-applied (personal vendetta, WIP, see comment)
- file_removal: this follows from nodupe; the reverse of a patch sourced
  from /dev/null is most naturally deleting the file, as is expected based
  on GNU patch behavior (WIP)
2019-09-05 03:16:14 +00:00
..
tests patch(1): add some basic tests 2019-09-05 03:16:14 +00:00
backupfile.c
backupfile.h
common.h patch(1): Exit successfully if we're fed a 0-length patch 2019-03-01 01:20:21 +00:00
inp.c patch(1): Don't check for NUL bytes in Plan A 2018-01-11 15:01:48 +00:00
inp.h
Makefile patch(1): add some basic tests 2019-09-05 03:16:14 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mkpath.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
patch.1
patch.c patch(1): Exit successfully if we're fed a 0-length patch 2019-03-01 01:20:21 +00:00
pathnames.h
pch.c patch(1): Exit successfully if we're fed a 0-length patch 2019-03-01 01:20:21 +00:00
pch.h Revert r311106: 2017-01-02 18:23:31 +00:00
util.c
util.h