History log of /netbsd-src/tests/usr.bin/Makefile (Results 1 – 25 of 43)
Revision Date Author Comments
# 659e6db5 18-Jan-2025 rillig <rillig@NetBSD.org>

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 versio

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.

show more ...


# c2171e15 12-Oct-2024 riastradh <riastradh@NetBSD.org>

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


# e2dba06c 02-Sep-2024 ozaki-r <ozaki-r@NetBSD.org>

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.


# 897cdf26 14-Mar-2024 rillig <rillig@NetBSD.org>

tests/stat: test the left-aligned and right-aligned 'S' format


# 00b317fc 25-Jan-2024 riastradh <riastradh@NetBSD.org>

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.

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

show more ...


# 92925e85 26-Aug-2023 rillig <rillig@NetBSD.org>

tests/usr.bin/error: add basic tests for several error message styles


# fa7d65a3 21-Jul-2022 kre <kre@NetBSD.org>

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 themsel

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.

show more ...


# 345652c1 22-May-2022 rillig <rillig@NetBSD.org>

tests/compress: demonstrate truncation of target file

Reported by Giorgos Keramidas in PR#19722.


# 87c3d6fe 12-Oct-2021 nia <nia@NetBSD.org>

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 l

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.

show more ...


# 340d07a6 01-Nov-2020 christos <christos@NetBSD.org>

Add unit-tests for col from FreeBSD


# 9cb1df3c 03-Jul-2020 jruoho <jruoho@NetBSD.org>

Add a check for PR bin/54692.


# 78bd8e59 27-Jun-2020 jruoho <jruoho@NetBSD.org>

Add a test case for PR kern/53767.


# 547814cf 24-Jun-2020 jruoho <jruoho@NetBSD.org>

Also install new tests.


# ad61858a 17-Jan-2020 christos <christos@NetBSD.org>

new tests for libarchive


# 499c4e53 14-Oct-2019 jhigh <jhigh@NetBSD.org>

adding argon2 tests


# c7ab523e 05-Oct-2019 jhigh <jhigh@NetBSD.org>

adding full scheme comparison to libcrypt:crypt and pwhash tests


# d6a1bc3f 04-Apr-2019 kamil <kamil@NetBSD.org>

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 co

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.

show more ...


# d1e529d3 05-Sep-2018 kre <kre@NetBSD.org>

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 (th

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.

show more ...


# b971227c 14-May-2017 kamil <kamil@NetBSD.org>

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 funct

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.

show more ...


# 67cef682 21-Feb-2017 kre <kre@NetBSD.org>

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 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.

show more ...


# f0970fd0 02-Jan-2017 christos <christos@NetBSD.org>

mixerctl tests from Charlotte Koch


# 6cddff1a 22-Oct-2016 abhinav <abhinav@NetBSD.org>

Add tests for uniq(1) based on the example test cases provided in the POSIX man page.
Ok christos


# 5973801c 08-Apr-2016 gson <gson@NetBSD.org>

Add regression tests for some past gdb bugs.


# 3dcb1bdb 14-Nov-2014 uebayasi <uebayasi@NetBSD.org>

Minimal linker script test.


# 26125ae7 07-Jan-2014 gson <gson@NetBSD.org>

Add some minimal tests of vmstat(1), to serve as regression tests
for PR bin/44518.


12