Commit Graph

30 Commits

Author SHA1 Message Date
christos ad61858a16 new tests for libarchive 2020-01-17 16:25:37 +00:00
jhigh 499c4e53b1 adding argon2 tests 2019-10-14 03:47:19 +00:00
jhigh c7ab523edc adding full scheme comparison to libcrypt:crypt and pwhash tests 2019-10-05 18:06:16 +00:00
kamil d6a1bc3f07 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.
2019-04-04 15:22:13 +00:00
kre d1e529d31c 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.
2018-09-05 21:05:40 +00:00
kamil b971227c60 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.
2017-05-14 00:07:07 +00:00
kre 67cef682dd 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.
2017-02-21 10:40:30 +00:00
christos f0970fd0b2 mixerctl tests from Charlotte Koch 2017-01-02 15:40:09 +00:00
abhinav 6cddff1a99 Add tests for uniq(1) based on the example test cases provided in the POSIX man page.
Ok christos
2016-10-22 14:13:39 +00:00
gson 5973801c0c Add regression tests for some past gdb bugs. 2016-04-08 10:09:16 +00:00
uebayasi 3dcb1bdb52 Minimal linker script test. 2014-11-14 09:03:39 +00:00
gson 26125ae798 Add some minimal tests of vmstat(1), to serve as regression tests
for PR bin/44518.
2014-01-07 16:47:13 +00:00
dholland 36890ffbb0 Add tests for tr, including an xfail one for PR 48113. 2013-08-10 22:36:16 +00:00
agc d9b9fb0ba9 descend into netpgpverify test directory too 2012-11-20 08:02:06 +00:00
joerg 23fe3eb28c Add basic regression test for nbperf(1) 2012-07-22 20:38:20 +00:00
martin c1004a7836 Add a basic test for infocmp - this would have cought todays terminfo
lossage (PR lib/46553).
2012-06-06 21:23:10 +00:00
jruoho af62c3b4d8 Add a test case for PR kern/46463. From Richard Hansen. 2012-05-18 15:25:25 +00:00
jruoho 327776ba0b Add regression tests for PR bin/12424, PR bin/12316, and PR bin/14253,
all fixed long time ago.
2012-03-20 06:18:33 +00:00
jruoho 3a662fafc9 Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago. 2012-03-19 07:05:18 +00:00
jruoho 1ff69b68e3 Add a case for PR bin/44973. 2012-03-18 12:40:42 +00:00
jruoho 0498995f9f Add a test case for PR bin/28126. Does not fail with GNU sed. 2012-03-18 10:12:30 +00:00
jruoho ad9dcd3c99 Deprecate tests/toolchain. 2012-03-17 17:15:28 +00:00
jruoho 28604916d4 Deprecate tests/util. 2012-03-17 16:33:10 +00:00
christos f70bd5ce19 PR/46155: Miguel Piñeiro Jr: awk RS handling is broken. Add the test cases
from the PR.
2012-03-10 19:08:56 +00:00
pgoyette c7176ca73e Descend into mkdep to catch its test 2011-05-30 19:31:19 +00:00
jruoho cb861154c1 Add a test case for PR bin/26453. 2011-05-03 15:13:50 +00:00
jruoho 6e1e04d65f Add a test for PR bin/41880. 2011-05-03 08:36:15 +00:00
jruoho 1f57069f96 Verify that PR bin/42628 is no longer an issue. 2011-05-03 07:23:19 +00:00
pooka efd10a6525 add tests for shmif_dumpbus(1) 2011-03-10 11:13:33 +00:00
pooka 34e15b860b commit works better when you cvs add first 2011-02-03 17:21:17 +00:00