History log of /src/tests/usr.bin/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.44 28-Nov-2025 nia

Import diff3 test cases from FreeBSD.

PR bin/59798 We are still using GNU diffutils


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 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.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 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


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 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.


Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 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.


Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406
# 1.30 17-Jan-2020 christos

new tests for libarchive


Revision tags: phil-wifi-20191119
# 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


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 netbsd-9-base phil-wifi-20190609
# 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.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906
# 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.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3
# 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.


Revision tags: prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320
# 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.


Revision tags: bouyer-socketcan-base pgoyette-localcount-20170107
# 1.23 02-Jan-2017 christos

branches: 1.23.2;
mixerctl tests from Charlotte Koch


Revision tags: pgoyette-localcount-20161104
# 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


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 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.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 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.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7
# 1.17 20-Nov-2012 agc

descend into netpgpverify test directory too


Revision tags: yamt-pagecache-base6
# 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).


Revision tags: yamt-pagecache-base5
# 1.14 18-May-2012 jruoho

Add a test case for PR kern/46463. From Richard Hansen.


Revision tags: yamt-pagecache-base4
# 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.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base cherry-xenmp-base
# 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)


Revision tags: bouyer-quota2-base bouyer-quota2-nbase
# 1.1 03-Feb-2011 pooka

branches: 1.1.2;
commit works better when you cvs add first