History log of /src/tests/usr.bin/Makefile |
Revision | | Date | Author | Comments |
1.43 |
| 18-Jan-2025 |
rillig | tests/gcov: demonstrate wrong coverage report after vfork/exec
Discovered in usr.bin/make, function Cmd_Exec.
The coverage test I ran on 2024-07-13 was still good. I don't remember the exact version of NetBSD-current I was running back then.
With NetBSD-current from 2025-01-17, gcov does not report full coverage data after a vfork/exec call. Running the test program inside ktrace shows that after a vfork call, the child process writes its coverage data back, probably right before the exec call, but the parent process doesn't.
Running a child process through system(3) is not affected; there, posix_spawn is used instead of vfork/exec.
|
1.42 |
| 12-Oct-2024 |
riastradh | ftp(1): Add test for custom HTTP header fields.
Based on a patch from Sunil Nimmagadda <sunil@nimmagadda.net>.
PR bin/58581: ftp(1) should allow specifying header fields in http requests
|
1.41 |
| 02-Sep-2024 |
ozaki-r | tests: add a basic test for shmif_pcapin
The original author of the test is k-goda@IIJ. ozaki-r tweaked the test to improve stability and added comments.
|
1.40 |
| 14-Mar-2024 |
rillig | branches: 1.40.2; tests/stat: test the left-aligned and right-aligned 'S' format
|
1.39 |
| 25-Jan-2024 |
riastradh | mtree(8): Test the installed sets.
Except etc and xetc, which likely won't match for reasons that aren't great, like etc including empty log files which in an installed system have probably changed.
This test will probably fail, but we should make sure it doesn't!
PR misc/57877
|
1.38 |
| 26-Aug-2023 |
rillig | tests/usr.bin/error: add basic tests for several error message styles
|
1.37 |
| 21-Jul-2022 |
kre | branches: 1.37.2; Add ATF tests for realpath(1)
Note that realpath can act differently for root than for other users (where an ordinary user will see EACCESS root just barrels right through).
The tests adapt themselves, when run as root, less error cases can be tested than when run as some other user.
|
1.36 |
| 22-May-2022 |
rillig | tests/compress: demonstrate truncation of target file
Reported by Giorgos Keramidas in PR#19722.
|
1.35 |
| 12-Oct-2021 |
nia | Fix release builds with MKARGON2=yes
This changes argon2 from a separately built library into a private dependency of libcrypt and removes the argon2(1) utility (we already have pwhash(1)). Giving libcrypt more library dependencies complicates things (e.g. libcrypt is a dependency of openssl). pthreads support gets disabled in argon2 for similar reasons.
For testing argon2, we rely on the libcrypt test suite.
|
1.34 |
| 01-Nov-2020 |
christos | Add unit-tests for col from FreeBSD
|
1.33 |
| 03-Jul-2020 |
jruoho | Add a check for PR bin/54692.
|
1.32 |
| 27-Jun-2020 |
jruoho | Add a test case for PR kern/53767.
|
1.31 |
| 24-Jun-2020 |
jruoho | Also install new tests.
|
1.30 |
| 17-Jan-2020 |
christos | new tests for libarchive
|
1.29 |
| 14-Oct-2019 |
jhigh | adding argon2 tests
|
1.28 |
| 05-Oct-2019 |
jhigh | adding full scheme comparison to libcrypt:crypt and pwhash tests
|
1.27 |
| 04-Apr-2019 |
kamil | Upgrade indent(1)
Merge all the changes from the recent FreeBSD HEAD snapshot into our local copy.
FreeBSD actively maintains this program in their sources and their repository contains over 100 commits with changes.
Keep the delta between the FreeBSD and NetBSD versions to absolute minimum, mostly RCS Id and compatiblity fixes.
Major chages in this import:
- Added an option -ldi<N> to control indentation of local variable names. - Added option -P for loading user-provided files as profiles - Added -tsn for setting tabsize - Rename -nsac/-sac ("space after cast") to -ncs/-cs - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines. - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1) - Group global option variables into an options structure - Use bsearch() for looking up type keywords. - Don't produce unneeded space character in function declarators - Don't unnecessarily add a blank before a comment ends. - Don't ignore newlines after comments that follow braces.
Merge the FreeBSD intend(1) tests with our ATF framework. All tests pass.
Upgrade prepared by Manikishan Ghantasala. Final polishing by myself.
|
1.26 |
| 05-Sep-2018 |
kre | Add ATF tests for printf(1)
Two new test programs, one for the version of printf in /bin/sh and one for the command /usr/bin/printf (t_builtin and t_command)
Each test program has 28 test cases (the same in each) of which currently 27 pass, and 1 is skipped.
See the test scripts themselves for more information.
|
1.25 |
| 14-May-2017 |
kamil | branches: 1.25.8; 1.25.10; Add new c++ ATF tests in usr.bin/c++: t_hello
This is a copy of t_hello from usr.bin/cc.
Added tests: - hello - hello_pic - hello_pie - hello32
These tests do not use c++ runtime library functions.
Protect these tests with MKCXX.
|
1.24 |
| 21-Feb-2017 |
kre | branches: 1.24.2; PR bin/50934
Add a test program for the bug described in this PR. This is the first pkill/pgrep/prenice test (more would be good!)
This test has been confirmed to work once the bug described in the PR has been fixed, so the test is not marked "expected to fail" even though initially that is what should happen.
Note: the test cana also fail if the system running the tests happens to be running processes with names that match the patterns searched for by the test, other than the test program itself. This is expected to be unlikely.
|
1.23 |
| 02-Jan-2017 |
christos | branches: 1.23.2; mixerctl tests from Charlotte Koch
|
1.22 |
| 22-Oct-2016 |
abhinav | Add tests for uniq(1) based on the example test cases provided in the POSIX man page. Ok christos
|
1.21 |
| 08-Apr-2016 |
gson | branches: 1.21.2; Add regression tests for some past gdb bugs.
|
1.20 |
| 14-Nov-2014 |
uebayasi | Minimal linker script test.
|
1.19 |
| 07-Jan-2014 |
gson | Add some minimal tests of vmstat(1), to serve as regression tests for PR bin/44518.
|
1.18 |
| 10-Aug-2013 |
dholland | Add tests for tr, including an xfail one for PR 48113.
|
1.17 |
| 20-Nov-2012 |
agc | descend into netpgpverify test directory too
|
1.16 |
| 22-Jul-2012 |
joerg | branches: 1.16.2; Add basic regression test for nbperf(1)
|
1.15 |
| 06-Jun-2012 |
martin | Add a basic test for infocmp - this would have cought todays terminfo lossage (PR lib/46553).
|
1.14 |
| 18-May-2012 |
jruoho | Add a test case for PR kern/46463. From Richard Hansen.
|
1.13 |
| 20-Mar-2012 |
jruoho | Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253, all fixed long time ago.
|
1.12 |
| 19-Mar-2012 |
jruoho | Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago.
|
1.11 |
| 18-Mar-2012 |
jruoho | Add a case for PR bin/44973.
|
1.10 |
| 18-Mar-2012 |
jruoho | Add a test case for PR bin/28126. Does not fail with GNU sed.
|
1.9 |
| 17-Mar-2012 |
jruoho | Deprecate tests/toolchain.
|
1.8 |
| 17-Mar-2012 |
jruoho | Deprecate tests/util.
|
1.7 |
| 10-Mar-2012 |
christos | PR/46155: Miguel Pi�eiro Jr: awk RS handling is broken. Add the test cases from the PR.
|
1.6 |
| 30-May-2011 |
pgoyette | branches: 1.6.4; Descend into mkdep to catch its test
|
1.5 |
| 03-May-2011 |
jruoho | Add a test case for PR bin/26453.
|
1.4 |
| 03-May-2011 |
jruoho | Add a test for PR bin/41880.
|
1.3 |
| 03-May-2011 |
jruoho | Verify that PR bin/42628 is no longer an issue.
|
1.2 |
| 10-Mar-2011 |
pooka | add tests for shmif_dumpbus(1)
|
1.1 |
| 03-Feb-2011 |
pooka | branches: 1.1.2; commit works better when you cvs add first
|
1.1.2.2 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.1.2.1 |
| 03-Feb-2011 |
bouyer | file Makefile was added on branch bouyer-quota2 on 2011-02-08 19:01:37 +0000
|
1.6.4.5 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.6.4.4 |
| 16-Jan-2013 |
yamt | sync with (a bit old) head
|
1.6.4.3 |
| 30-Oct-2012 |
yamt | sync with head
|
1.6.4.2 |
| 23-May-2012 |
yamt | sync with head.
|
1.6.4.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.16.2.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.16.2.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.21.2.3 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.21.2.2 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.21.2.1 |
| 04-Nov-2016 |
pgoyette | Sync with HEAD
|
1.23.2.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.24.2.1 |
| 19-May-2017 |
pgoyette | Resolve conflicts from previous merge (all resulting from $NetBSD keywork expansion)
|
1.25.10.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.25.10.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.25.8.1 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.37.2.2 |
| 13-Oct-2024 |
martin | Pull up following revision(s) (requested by riastradh in ticket #970):
tests/usr.bin/Makefile: revision 1.42 usr.bin/ftp/ruserpass.c: revision 1.34 usr.bin/ftp/main.c: revision 1.130 usr.bin/ftp/ssl.c: revision 1.17 usr.bin/ftp/main.c: revision 1.131 usr.bin/ftp/ssl.c: revision 1.18 usr.bin/ftp/main.c: revision 1.132 usr.bin/ftp/ssl.c: revision 1.19 usr.bin/ftp/main.c: revision 1.133 distrib/sets/lists/tests/mi: revision 1.1342 usr.bin/ftp/ftp.1: revision 1.151 usr.bin/ftp/ftp.1: revision 1.152 usr.bin/ftp/progressbar.c: revision 1.25 usr.bin/ftp/ftp.1: revision 1.153 usr.bin/ftp/progressbar.c: revision 1.26 usr.bin/ftp/ftp.1: revision 1.155 usr.bin/ftp/ftp.1: revision 1.156 usr.bin/ftp/fetch.c: revision 1.239 usr.bin/ftp/ftp.1: revision 1.157 usr.bin/ftp/ftp.1: revision 1.158 usr.bin/ftp/ftp.1: revision 1.159 usr.bin/ftp/ftp_var.h: revision 1.87 etc/mtree/NetBSD.dist.tests: revision 1.208 usr.bin/ftp/ftp_var.h: revision 1.88 usr.bin/ftp/ftp_var.h: revision 1.89 usr.bin/ftp/cmds.c: revision 1.142 usr.bin/ftp/util.c: revision 1.168 usr.bin/ftp/cmds.c: revision 1.143 tests/usr.bin/ftp/custom_headers.sh: revision 1.1 usr.bin/ftp/ssl.c: revision 1.20 usr.bin/ftp/complete.c: revision 1.48 tests/usr.bin/ftp/Makefile: revision 1.1 tests/usr.bin/ftp/t_custom_headers.sh: revision 1.1 usr.bin/ftp/fetch.c: revision 1.240 usr.bin/ftp/fetch.c: revision 1.241 usr.bin/ftp/ftp.c: revision 1.176 usr.bin/ftp/ftp.c: revision 1.177 (all via patch)
ftp(1): wording and formatting improvements
Fix grammar issue with "Support values" reported in private mail. Document all file transfer types in "type" and cross-reference that. Consistency fixes in describing file transfer parameters and types.
Fix some mandoc -Tlint issues (except "useless macro: Tn").
Add -b <buflen> to specify the buffer size.
ftp: bump FTPBUFLEN from 4kB to 16kB sourceforge.net returns a 5kB content-security-policy. Analyzed by mlelstv@ who reports usual limits are between 4kB and 48kB. default is now 16K
ftp: improve -b documentation
Order -b bufsize in the synopsis.
Document the actual default value.
ftp: improve units used in comments and errors Use "KiB" instead of "K" in errors. Clarify related comments.
pass some lint.
PR/58581: Sunil Nimmagadda: Add flag to allow specifying extra http header fields.
ftp(1): Nix trailing whitespace in man page. No functional change intended.
PR bin/58581: ftp(1) should allow specifying header fields in http requests fix markup (h -> H), explain about multiple headers, fix usage (from RVP)
Don't forget the dot, use the intended macro name (I think), and improve the wording a little. (All related to the -H option.) ftp(1): Add test for custom HTTP header fields.
Based on a patch from Sunil Nimmagadda.
PR bin/58581: ftp(1) should allow specifying header fields in http requests
|
1.37.2.1 |
| 05-Sep-2024 |
martin | Pull up following revision(s) (requested by ozaki-r in ticket #817):
tests/usr.bin/Makefile: revision 1.41 (patch) distrib/sets/lists/base/mi: revision 1.1350 (patch) usr.bin/shmif_pcapin/shmif_pcapin.1: revision 1.1 distrib/sets/lists/man/mi: revision 1.1787 (patch) distrib/sets/lists/debug/mi: revision 1.447 (patch) tests/usr.bin/shmif_pcapin/d_pcap.out.bz2.uue: revision 1.1 sys/rump/net/lib/libshmif/if_shmem.c: revision 1.88 etc/mtree/NetBSD.dist.tests: revision 1.207 sys/rump/net/lib/libshmif/shmifvar.h: revision 1.12 usr.bin/shmif_pcapin/shmif_pcapin.c: revision 1.1 usr.bin/shmif_pcapin/Makefile: revision 1.1 tests/usr.bin/shmif_pcapin/t_basic.sh: revision 1.1 usr.bin/Makefile: revision 1.240 distrib/sets/lists/tests/mi: revision 1.1335 (patch) tests/usr.bin/shmif_pcapin/Makefile: revision 1.1 tests/usr.bin/shmif_pcapin/d_pcap.in.bz2.uue: revision 1.1
shmif: export LOCK_* definitions They will be used by upcoming shmif_pcapin.
Add shmif_pcapin(1) utility program
It can send any frames that are stored in a pcap(3) file format to shmif(4) Ethernet interface via the bus of it. If you want to write some tests for networking with rump kernels and the tests need to send frames that are difficult to generate by stock programs, shmif_pcapin can be helpful.
The author of shmif_pcapin is k-goda@IIJ and the man page is written by ozaki-r.
tests: add a basic test for shmif_pcapin
The original author of the test is k-goda@IIJ. ozaki-r tweaked the test to improve stability and added comments. distrib, etc: install shmif_pcapin and its tests
|
1.40.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|