Julio Merino
b83f6294d2
Make the strerror tests work without libtap.
...
Just replace the simple calls to the library with ad-hoc code. We should
later rewrite these with the ATF libraries anyway, which are part of the
base system.
2014-03-12 10:45:22 +00:00
David Schultz
f04a5a6c81
Tests for wcscasecmp(), wcsnlen(), and stpncpy().
2009-02-28 06:34:04 +00:00
Nik Clayton
8948ad6b58
Add to CFLAGS, rather than overriding it. Use LDFLAGS for the -L option,
...
and LDLIBS to specify -ltap.
Submitted by: ru
2005-02-01 09:26:34 +00:00
Nik Clayton
818287703d
Link against libtap (ports/devel/libtap). Replace the calls to assert()
...
with calls to libtap::ok1(), and make sure the correct number of tests is
planned for, and that the exit code is correct.
2005-02-01 01:53:35 +00:00
Mike Barcroft
ac3f0d298f
Add regression test for strerror()/strerror_r().
...
Based on: src/lib/libc/string/strerror.c (rev 1.8)
2002-12-18 16:59:08 +00:00