Kyle Evans 5028ea32d6 cp: add some basic tests
There are some tests available in the NetBSD test suite, but we don't
currently pass all of those; further investigation will go into that. For
now, just add a basic test as well as a test that copies from /dev/null to a
file.

The /dev/null test confirms that the file gets created if it's empty, then
that it truncates the file if it's non-empty. This matches some usage that
was previously employed in the build and was replaced in r366042 by a
simpler shell construct.

I will also plan on coming back to expand these in due time.

MFC after:	1 week
2020-09-23 03:01:14 +00:00
..
2020-07-26 15:10:33 +00:00
2019-03-09 00:30:13 +00:00
2020-09-23 03:01:14 +00:00
2018-11-04 17:56:16 +00:00
2017-12-07 01:57:27 +00:00
2018-12-03 20:01:51 +00:00
2020-02-02 20:51:28 +00:00
2018-06-17 05:14:50 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-06 08:43:14 +00:00