MFC r289172,r290254:r289172:Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk- Remove unnecessary TESTSDIR setting- Use SRCTOP where possible for clarityr290254:Remove unused variable (SRCDIR)
MFC r267265: truncate: Detect integer overflow, fix relative sizes, add tests.The change to expand_number (r204654) broke detection of too large sizes andrelative sizes ('+'/'-').Also add some tests.The usr.bin/truncate/Makefile is slightly different in the MFC becausesrc.opts.mk does not exist in stable/10.PR: 190735Submitted by: Kirk Russell
truncate: Detect integer overflow, fix relative sizes, add tests.The change to expand_number (r204654) broke detection of too large sizes andrelative sizes ('+'/'-').Also add some tests.PR: 190735Submitted by: Kirk RussellMFC after: 1 week