Commit Graph

1943 Commits

Author SHA1 Message Date
yamt
d1e900e606 - fix funopen usage
- some more checks
- remove a bogus test case (bad_eucJP_getwc)  PR/47660 (Julio Merino)
- add XXX comments
2014-01-20 14:14:56 +00:00
apb
2a9bf57a9d Remove -O0 from CPPFLAGS, and instead set
COPTS.testlang_parse.c += -Wno-uninitialized.

Without the old -O0, and without the new -Wno-uninitialized,
gcc issues this bogus error:
testlang_parse.y:1400:8: error: 'cmd' may be used uninitialized in this function
2014-01-19 22:09:34 +00:00
apb
20cabc6645 Remove "-g" from CPPFLAGS and LDFLAGS in curses tests.
The debug information contains embedded references to the src directory,
which is bad for reproducible builds.
2014-01-19 21:50:17 +00:00
pgoyette
0746ac4120 Sprinkle in some UNCONST() 2014-01-19 13:40:59 +00:00
pgoyette
5e565c166a Include more of the test cases from RFC 1321.
XXX cases 3, 6, and 9 are currently disabled because we don't seem
to handle plain-text in other than 8-byte chunks.
2014-01-18 20:40:27 +00:00
pgoyette
f2915fe1a6 Remove some debugging code. 2014-01-18 20:10:34 +00:00
pgoyette
cd62f2eb7f Free each crypto(4) session when we're done with it. (A new session
is created for each test case.)
2014-01-18 19:44:41 +00:00
pgoyette
435332144e Fix verification to use correct buffer.
Use test cases defined in RFC 1321
2014-01-18 15:55:32 +00:00
pgoyette
101f54fefd Add the test cases for sha1_hmac 2014-01-18 15:15:16 +00:00
joerg
3732193e19 Needs some unconst. 2014-01-18 02:31:14 +00:00
pgoyette
b685948516 Additional tests for SHA1_HMAC (with test cases from RFC2202) 2014-01-17 22:33:02 +00:00
pgoyette
10805d8a0e Add additional test cases from RFC2202 2014-01-17 22:31:25 +00:00
pgoyette
140e400a0b Use RFC 3713 vector, add comment to identify the source 2014-01-17 19:39:51 +00:00
pgoyette
80fe9fc110 Reenable h_null (NULL_CBC) test. It works if we correctly pass a NULL iv. 2014-01-17 19:35:33 +00:00
pgoyette
1b0aa2a2ae Clean up the helper programs. Remove the code to print the results, and
make sure that all helpers actually check the results against the correct
values.
2014-01-17 14:16:08 +00:00
pgoyette
5119ac7130 Disable the arc4 and null_cbc tests for now. The swcrypto driver does
not (yet) support them.
2014-01-17 14:14:54 +00:00
joerg
7fe431c6a2 Use __arraycount and size_t as the format strings are wrong anyway. 2014-01-16 23:56:04 +00:00
pgoyette
075b927c1d Since sizeof() is unsigned, use an unsigned int for the loop index.
Fixes latest build break.
2014-01-16 22:06:45 +00:00
pgoyette
5b57b2e95d Include all of the examples from RFC3566 2014-01-16 18:09:55 +00:00
mlelstv
3ca9670bad Adjust default column test to the changed ps -s output. 2014-01-16 04:16:32 +00:00
martin
89ed65c0d4 Remove bogus TESTSDIR 2014-01-15 10:19:55 +00:00
pgoyette
fda7dd4887 Descend into new opencrypto test suite 2014-01-14 18:06:27 +00:00
pgoyette
9bee98a7d5 Add some trivial tests for the in-kernel opencrypto framework, and link
them into the build.  (Thanks to Matthias Drochner for the test programs!)

XXX The arc4 and null tests currently fail - under investigation.
2014-01-14 17:51:39 +00:00
gson
544eb11262 When using braces around shell variable names, do so consistently 2014-01-13 11:08:14 +00:00
gson
feb2d702d7 Add missing resolv.conf override to the gethostbyaddr6 test case. 2014-01-13 10:49:47 +00:00
martin
4f7da0ce19 New gcc can reuse stack frames for tail calls, so "main" is an optional
frame as well.
2014-01-11 19:48:22 +00:00
martin
030abcd2da Make the output of the test case better suited for debugging (output full
backtrace before failing any unclear asserts)
2014-01-11 19:13:41 +00:00
gson
341c8e68ed Remove comment that no longer applies. 2014-01-10 20:38:11 +00:00
martin
99caaa63e9 In the strcat test, smash the stack more severely (this all may depend
on alignment and stack frame details).
The gcc folks disagree with this test in general:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59750
2014-01-10 10:45:34 +00:00
christos
c0cdf73e1c Add a cleanup routine because if a test fails, the script exits and the
rest of the code is not executed.
Note that the cleanup routine is executed in a separate shell so environment
variables are not propagated and need to be set again.
2014-01-10 01:43:55 +00:00
christos
0560f419d3 fix copyright botch and add library for netinet6; still does not fix the
problem.
2014-01-09 14:07:31 +00:00
hannken
9cd2f4b930 Operation sysvbfs_remove() destructs inodes attached to active vnodes.
Defer the destruction to sysvbfs_reclaim().

Disable test t_renamerace:sysvbfs_renamerace as it will exhaust the
inode table (sysvbfs has space for 8 inodes only).

Ok: Izumi Tsutsui <tsutsui@netbsd.org>
2014-01-09 13:23:57 +00:00
christos
cca81d599b Use our own resolv.conf file simplifying the test to not need rump_vfs.
Add debugging on the dns server
One test fails (gethostbyaddr6) why? It runs without rump
2014-01-09 02:18:10 +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
gson
46f418f7e1 Fix spelling of "daemon". Pointed out by Thomas Klausner. 2014-01-06 16:42:57 +00:00
gson
e54ff2dc1b Make t_hostent test cases that query the DNS work on systems with no
Internet connectivity, by hijacking DNS queries and /etc/resolv.conf
accesses using librumphijack and providing a minimal DNS server to
answer the queries.
2014-01-06 14:50:32 +00:00
martin
2f9cf01de9 We now expect this test to succeed 2014-01-05 12:59:03 +00:00
pooka
c7edf59387 netstat expected output includes ipv6 sucket, so add netinet6 2014-01-03 13:18:00 +00:00
pooka
7e5de72e53 ldpd wants inet6 2014-01-03 13:14:50 +00:00
joerg
1fd04761e2 Disable integrated-assembler for clang on ARM for two files that are
victims of the @ comment mess on that platform. Add a reference to the
upstream PR.
2013-12-25 22:26:35 +00:00
christos
9a6b9e13f8 sixthavenue got upgraded 2013-12-20 20:22:26 +00:00
alnsn
202116b0b6 Add bpfilterbadmem, bpfilternoinitA and bpfilternoinitX tests. 2013-12-18 22:39:16 +00:00
martin
714f2fc9c2 Add stack alignement test for sparc 2013-12-12 11:22:26 +00:00
matt
414bfc7e2c Add stack alignment checks for alpha, arm, mips, powerpc, and vax.
Fix makefile to support MACHINE_CPU
2013-12-11 17:31:55 +00:00
martin
f758bf64d6 Adjust expected epsilon for sqrtl <-> powl comparisions for defects in
powl (which actually is pow for now)
2013-11-22 17:19:14 +00:00
blymn
c9f5d99795 Add carriage return to list of valid character substitutions. 2013-11-21 11:08:08 +00:00
blymn
d77ae47228 Add carriage return to the quoted character list 2013-11-21 11:06:04 +00:00
joerg
f63f9867dd Add cbrtl(3) and sqrtl(3), from FreeBSD. 2013-11-19 19:24:33 +00:00
martin
2e8fa30d93 Add stack alignement checking for sparc64 2013-11-15 20:00:20 +00:00
skrll
b6090b2a1d Check stack alignment on hppa. 2013-11-15 11:48:30 +00:00