Commit Graph

2173 Commits

Author SHA1 Message Date
christos 9462261d53 PR/48843: Jarmo Jaakkola: Test cses for break/continue/return broken
inside dot commands:

 The test cases are named with the pattern
     dotscope_cmd_cmdscope,
 where dotscope is the scope in which the dot command is and cmdscope
 is the scope where cmd is in the sourced file.
2014-05-31 14:29:06 +00:00
alnsn de2c6dc51a Update copyright year. 2014-05-23 11:48:26 +00:00
alnsn 02f87fcd70 Test Array Bounds Check Elimination (ABC) and test bpf programs from bpf(4). 2014-05-23 11:47:59 +00:00
martin 3313ae3d61 Re-enable alpha IEEE compiler options 2014-05-18 10:47:03 +00:00
palle 65aa7f14df Added test of -d option to sysctl 2014-05-16 18:50:28 +00:00
martin 4e0f19c597 Set a bigger timeout - this test needs > 3000s on my shark (mostly for
unpacking the test image)
2014-05-15 14:53:05 +00:00
christos 639c8a82b3 CID 978337: Fix resource leak 2014-05-12 15:33:12 +00:00
christos 03a5ccb524 CID 975238: Unchecked returns 2014-05-12 15:31:07 +00:00
martin 9ce5f7726e Add a test case for PR kern/48787. 2014-05-10 14:15:25 +00:00
yamt d1d388317b include string.h for memset 2014-05-06 00:41:26 +00:00
martin fb80a335f8 Comment out the ieee fp flags for alpha for now - something (tm) is not
working right, see PR port-alpha/48782.
2014-05-05 18:08:32 +00:00
joerg 9695f56051 Check for mounted /proc. 2014-05-01 03:46:11 +00:00
joerg af32f2a15b Annotate dependencies. 2014-04-30 21:04:21 +00:00
uebayasi 413d532bcc Minimal execve(2) ATF test. 2014-04-29 06:29:02 +00:00
martin 511cd1dbe5 Tune COPTS for alpha 2014-04-28 08:46:35 +00:00
martin 36cb4c7daa Skip the curtain test case if curtain is not enabled and we would not
be able to restore it to its old value later due to running at securelevel
above 0.
Previously this would fail and leave curtain enabled untill next reboot (but
causing further runs of the test to suceed, just to maximize confusion).
This went unnoticed initial since most modular test kernels run with options
INSECURE to allow exercising the kernel module loader.
2014-04-28 08:34:16 +00:00
christos 7801950caf Include bsd.own.mk (hi pooka) 2014-04-26 18:53:21 +00:00
pooka 0159a35e80 obsolete the installed <rump/scsitest.h> header and make it private
to tests/dev/scsipi
2014-04-25 00:24:39 +00:00
pooka 37510bf29a CPPFLAGS for rump_private.h 2014-04-25 00:17:48 +00:00
pooka 8fa17e4756 scsitest is a SCSI target emulator used by one test, and has little
reason to get installed.  Make the component private to the test using
it and obsolete the installed one.

IOW, rename sys/rump/dev/lib/libscsitest -> tests/dev/scsipi/libscsitest
2014-04-24 21:46:44 +00:00
christos ae43465b77 disable the extension test for now. 2014-04-21 19:10:41 +00:00
christos 084b9a8547 use a different function instead of __builtin_isnan, because it is polymorphic
and we don't handle this yet.
2014-04-21 19:09:52 +00:00
martin e3f3b44e5b When unlinking a directory as unprivileged user allow both EPERM and EACCESS
failures.
2014-04-21 18:05:17 +00:00
martin e3e7e2d06e When a hard link to a directory fails, accept both EPERM and EACCESS as
valid error codes.
2014-04-21 14:39:36 +00:00
christos fc07744d1d add more tests 2014-04-17 18:34:44 +00:00
joerg 728ced6ed6 Bail out if backtrace(3) failed. 2014-04-13 20:58:26 +00:00
christos af447fd425 fix lossage with gcc-4.5 2014-04-07 15:09:20 +00:00
christos 658a209ca6 add stp*cpy() tests 2014-04-06 19:28:59 +00:00
gson de089ddb26 Use daemon(3) instead of the experimental daemon2_fork() and
daemon2_detach().  Now that newer versions of daemon2_fork() and
daemon2_detach() are used in nfsd, where two-stage daemonization is
actually needed, there is no longer any reason for h_dns_server to
serve as a test case and example of their use.
2014-03-29 16:10:54 +00:00
joerg 76e79da680 Consistently use long double. 2014-03-25 17:30:14 +00:00
dholland c93eb026cf remove sys/simplelock.h (straggler) 2014-03-21 22:18:57 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
martin d9c366827a Handle VAX 2014-03-17 11:08:11 +00:00
dsl 2f2f29868b Add a lot more tests for exp2() and exp2f().
exp2f(7.7) and exp2f(8.8) seem too far from their expected values
  (especially the latter).
exp2(-1023) and below are badly broken.
2014-03-16 22:51:19 +00:00
dsl 73c89cbfd4 Print the result as a 'long double' - on i386 a return value that
should be infinity might just be too large for 'double' and won't
get converted until it has to be saved to memory.
2014-03-16 22:49:27 +00:00
dsl 18f26c5968 Check that the result isn't equaly to the expected value before checking
the absolute size of the error term.
If the expected result is +/-infinity it should compare equal, but the
  result of the subtract may not be zero.
Also print the result and error values in fp hex to make it easier to
  see how may lsb bits are incorrect.
2014-03-16 18:42:21 +00:00
njoly db479b4209 Retrict rumpfs to the provided size, like other filesystems. 2014-03-16 10:28:03 +00:00
cherry 4f1dbdfcdc Fix comment: ar.bsp is the RSE backing store base pointer, not ar.bspstore 2014-03-16 09:27:04 +00:00
cherry ee65d46ce6 Add stack align test stub for ia64 native csu 2014-03-16 09:20:05 +00:00
gson d34c9aa571 Add -lrumpnet_netinet6 to the rump_server invocation, to stop
rpc.rquotad from printing the error message "rpc.rquotad:
_svc_tli_create: could not open connection for udp6: Address family
not supported by protocol family".  The error message currently ends
up in /dev/null because it is printed to stderr after calling daemon()
with noclose=0, but if the daemonization is moved to a later point to
fix the race condition of PR misc/48282, it will actually appear on
stderr and break the test, which is expecting stderr to be empty.
2014-03-13 12:45:14 +00:00
martin 49f7ef9bba Avoid double constants out of range 2014-03-12 21:40:07 +00:00
joerg 7af46b7fdc Use a struct for pair of frame name and whether it is optional. Add some
additional entries found in a -O0 build of ATF on PowerPC.
2014-03-11 13:43:23 +00:00
pooka 495782ee0e Move the "is arch capable of loading native kernel modules into
rump kernel" clauses from bsd.own.mk to Makefile.rump.  Also,
add a rump_nativeabi_p() call to determine if rump kernel is
compiled with native ABI support.
2014-03-10 22:38:53 +00:00
martin d97ddb2687 no NaN tests for vax 2014-03-08 17:05:47 +00:00
martin 1ecc2818f1 Vax does not do +/- INF. 2014-03-07 12:46:47 +00:00
dsl a701b24dee A couple of the atan tests are randomly failing.
Print the incorrect value.
2014-03-05 20:15:41 +00:00
dsl 208d774fb4 Fix some typos.
Make the infinity and nan constants 'double' not 'long double'.
2014-03-05 20:14:46 +00:00
dsl ee6c509ded Move the #defines that simplified the test definitions and checks
into a separate header than can be used by the other libm tests.
Make the subtest index 'unsigned int' so that simple constants (eg 0)
  print correctly.
2014-03-05 19:43:46 +00:00
joerg 5c4c6caf71 Make the abs() use check non-fatal for a bogus use in the LFS cleanerd. 2014-03-04 21:06:47 +00:00
dsl 7a0105bd14 Remove the print of the rounding mode.
It was added in case it was non-zero - which it isn't.
It still isn't clear why acos(-1) gives the wrong result on some amd64
  systems.
2014-03-03 18:21:33 +00:00
martin a753a01cb4 Define HAVE_FENV_H on architectures that support it.
What a mess, we need a central place for this!
2014-03-03 12:15:27 +00:00
martin 29ebc6818e Remove all cargo-cult #ifndef __vax__ from the tests, that just paper
over bugs in the vax libm.
2014-03-03 10:39:08 +00:00
martin 5e5099dfc8 Fix build for platforms w/o fenv.h.
Remove some bogus #ifdef __vax__ (and add a few, hopefully non-bogus,
new ones).
2014-03-03 10:38:36 +00:00
dsl 5b5595b6b5 Include the subtest number in any error output.
Also temporarily print the rounding mode.
I think that acos(-1) is ending up with the wrong sign because the test
  is being run with 'round towards -ve infinity' set.
I think it getting set somewhere and causing this test to fail.
The acos() code probably needs fixing - it shouldn't depend on the
round mode like this. But first I want to know if this if the error.
2014-03-02 22:40:45 +00:00
jmmv bcb71d7e8b Make cleanup routines actually work.
The only way to pass global state from the body to the cleanup is via the
file system.

Fixes leaks of global system resources (in all cases, given that the body
does not by itself clean things up).
2014-03-02 20:13:12 +00:00
jmmv c6a5f6dd5a Remove unnecessary and broken cleanup routine. 2014-03-02 19:56:48 +00:00
joerg 4d065f3e71 Fix sign. 2014-03-01 22:38:13 +00:00
dsl 8f9d8363a0 Some of the acos() tests seem to fail on some systems.
Sorting out why isn't helped by the tests not reporting the erronous value.
Change the 'boilerplate' pattern used so that all the values are output.
Reduce the amount of faffy red tape as well.
Some of these reductions could be shared with other libm tests, but for
  the moment they are defined in this file.
All these tests pass on my amd64 system, and when I run amd64 qemu.
2014-03-01 21:08:39 +00:00
joerg 191a32cdd1 Avoid promotion in subexpressions. 2014-02-27 17:26:02 +00:00
joerg 7fd630031b Don't use integer downcasts, use correctly sized constants for each test. 2014-02-27 17:25:28 +00:00
joerg f161b30d74 Use an abs wide enough to cover the types involved. 2014-02-27 00:59:50 +00:00
martin 1f6c8fa478 Remove hardcoded VM_MIN_ADDRESS and instead query current value via
sysctl vm.minaddress.
2014-02-26 20:49:26 +00:00
martin 1f8b8a77e6 Remove excemption for i386 (PR lib/48601) - missing aliases will be
added to the C code.
2014-02-21 10:26:25 +00:00
martin 20ff963b35 For now excempt i386 from __sync_lock_test_and_set_8 and point to
PR lib/48601. Probably more architectures to follow.
2014-02-18 10:27:46 +00:00
joerg 0df5988fd8 Since clang doesn't recognize the nand variants of the sync builtins and
gcc doesn't support __has_builtin, use a plain #ifndef __clang__ check
as workaround.
2014-02-17 21:38:04 +00:00
martin a2ebafbf22 Add a link-time test for __sync_* primitives (see PR 48368) - this
will allow us to notice missing functions during the build, instead
of when compiling arbitrary pkgsrc stuff later.
2014-02-17 10:10:41 +00:00
joerg d0ebb0ebfa ARM now works with integrated-as. 2014-02-14 20:33:32 +00:00
jmmv e110dcc954 Use compiler builtins instead of atf_arch and atf_machine.
The atf_arch and atf_machine configuration variables were removed from
atf-0.19 without me realizing that some tests were querying them directly.

Instead of reintroducing those variables, just rely on compiler builtins
as many other tests already do.

Should fix PR bin/48582.
2014-02-09 21:26:07 +00:00
hannken 97834f7ba0 Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31
2014-02-07 15:29:20 +00:00
joerg d9eddbbe61 Pass the correct buffer size. 2014-02-06 14:57:16 +00:00
njoly a935b103a7 Handle another declaration after statement case for lint in c99 mode.
Add the corresponding testcase.
2014-02-04 08:08:59 +00:00
martin e9501cb2dc Add a few more test values from the range that sparc64 previously would
have got wrong.
2014-02-02 08:16:22 +00:00
martin 3de77da158 Skip testcase inside its body for architectures w/o long double support 2014-02-01 13:53:16 +00:00
martin 5f1a738958 Print a slightly more helpfull message in case of test failure 2014-02-01 10:00:04 +00:00
joerg f830673a68 No unused functions if there is no long double support. 2014-01-30 22:15:55 +00:00
joerg 048981b58c Add test for uint64 to real long double conversion. 2014-01-30 15:04:04 +00:00
matt 2aecc71d04 Support using fenv instead of fpsetmask if HAVE_FENV is defined. 2014-01-26 21:04:46 +00:00
matt 0d162304ca Make this real even though it isn't yet used. 2014-01-26 20:42:06 +00:00
skrll ec88ed8b1f Use English spelling of alignment. 2014-01-25 10:09:47 +00:00
yamt eb988d97e6 fix comment typos pointed out by uebayasi 2014-01-21 00:32:16 +00:00
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
rmind d0748eb941 - Add bpf_args_t and convert bpf_filter_ext() to use it. This allows the
caller to initialise (and re-use) the memory store.
- Add bpf_jit_generate() and bpf_jit_freecode() wrappers.
2013-11-15 00:12:44 +00:00
christos fa1e6d6374 CID 1107543, 230676, 1107543, 976795, 230676, 976795, 1125885, etc. 2013-11-13 21:41:23 +00:00
joerg cbc2f8caeb Add FreeBSD's truncl and minimal testing. 2013-11-13 12:58:11 +00:00
joerg d0d4402155 Initial version of fmodl from FreeBSD.
Basic test case for the fmod family.
2013-11-12 16:48:39 +00:00
kefren f7c77f192b Retire t_ldp_static. It's too heavy weighted for releng's anita and mostly
unsuited for atf.
2013-11-12 12:22:33 +00:00
joerg 2e412cf6b8 Add initial version of ceill, floorl and roundl from FreeBSD. 2013-11-11 23:57:34 +00:00
joerg 70f0cfa164 NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.

Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
blymn f3ae62b834 Update check files to match fixed behaviour for addchstr 2013-11-09 11:18:12 +00:00
christos ddd5644b2e Handle new objc for gcc-4.8.1. Someone with more objc foo can do this better. 2013-10-31 21:02:11 +00:00
joerg 5e2fc1bbd3 Only initialise TLS space from the PT_TLS segment, if the size is
positive and the offset has been computed. Fixes PR lib/48324.
2013-10-21 19:14:15 +00:00
joerg 7ce95f3734 Revert, init-exec in combination with initalised TLS variables is not
supported.
2013-10-21 19:11:17 +00:00
christos f59006a79a write fail as a proper macro 2013-10-20 17:36:36 +00:00
christos 92501fa166 adjust output now that we don't output size info for links and directories
by default.
2013-10-20 17:27:37 +00:00
christos 14e652625e broadway changed addresses. 2013-10-20 17:22:49 +00:00
joerg 744547edc2 Force use of static TLS space. 2013-10-20 13:30:50 +00:00
christos d56fcfc956 fix unused variable warnings 2013-10-19 17:45:00 +00:00
christos 973ed75f39 initialize variables 2013-10-19 17:44:37 +00:00
christos 05546cf9db build the .h before the .o 2013-10-19 17:28:38 +00:00
christos 11fdff5426 CID 1107548: resource leak 2013-10-17 12:53:28 +00:00
christos 73a690f0f7 CID 1107550: resource leak 2013-10-17 12:52:09 +00:00
christos 0703489a8c more tests 2013-10-12 17:26:32 +00:00
christos ee07b6a10b new test to check if non-blocking sockets are reset to blocking on the
accepted file descriptor.
2013-10-12 15:29:16 +00:00
christos 4b23c29b39 make this work on linux 2013-10-10 16:01:55 +00:00
christos dc8626c22e Improve tests so that they check the sockaddr's returned by accept(2) and
getsockname(2). Test for accept success after closed client socket.
2013-10-08 18:05:31 +00:00
ast 83d9b54597 Fix PR bin/48202 [non-critical/low]:
sh +nounset and `for X; do` iteration fails if parameter set empty
by applying and testing FreeBSD's patch of Oct 24 2009 for this; see
  http://svnweb.freebsd.org/base/head/bin/sh/expand.c?r1=198453&r2=198454
Also created an ATF test in tests/bin/sh/t_expand.sh for this error and
corrected a space->tabs problem there as well.
2013-10-06 21:05:50 +00:00
martin 7e7cfe75c0 Retry previous 2013-09-16 15:33:24 +00:00
martin 0422e3f47d Make it compile on archs where NAN is not defined - previously it only
compiled by chance (and details of the __isnan macro) on vax.
2013-09-16 15:22:51 +00:00
pooka 2e16209595 Remove what looks like an outdated assert (there was something very sneaky
about this code, but my memory is fading ...)
2013-09-09 19:47:38 +00:00
pooka 8b99c7c824 Use 8 TCP/IP stacks instead of 16. That still gives us plenty crossping
testing for 1/4th of the cost.
2013-09-09 19:27:49 +00:00
pooka a4786a8b92 socket(-1, SOCK_CLOEXEC, 0); followed by the process exiting (i.e.
fd slot does not get initiailized before fd_free()) cases a diagnostic
kernel panic.
2013-09-05 12:22:10 +00:00
gsutre d163d4166c Fix two tests for typefit: constants larger than LLONG_MAX
do not fit in a signed long long.
2013-09-05 09:01:27 +00:00
christos 0f567347d0 test harness for gethostbyname()/gethostbyaddr() and their internal bits.
XXX[1]: How can we avoid using hard-coded hosts for DNS
XXX[2]: How do we test NIS?
2013-08-16 15:29:45 +00:00
martin 34f5799411 Prevent inlining of the main testcase body function.
Do not mark the inner functions static, as they might get cloned then
(ending up being called "myfunc3.clone.3" instead of "myfunc").
2013-08-16 11:57:15 +00:00
joerg cf7d2ab7ad Now that all architectures default to unwind data, remove the failure
for !amd64.
2013-08-15 12:42:25 +00:00
dholland eac2170da1 Add some cases pertaining to another bug I just fixed. 2013-08-11 01:50:02 +00:00
dholland 88d97c8162 Remove xfail for PR 48113. 2013-08-11 00:29:21 +00:00
dholland 36890ffbb0 Add tests for tr, including an xfail one for PR 48113. 2013-08-10 22:36:16 +00:00
pgoyette f6bf860e63 Arghhh! Typo. 2013-08-08 05:10:07 +00:00
pgoyette 26735a61a7 Add a new test case for snprintb_m(3) to catch previous boundary bug. 2013-08-08 04:52:10 +00:00
pooka 40df3663d1 tests for i/o-after-unlink 2013-08-04 11:02:02 +00:00
skrll 6d42eea15e Slow hardware needs longer, especially for default_deny_user_big 2013-07-29 13:15:24 +00:00
skrll 548b029c20 Increase timeout. My hardware must be getting slower. 2013-07-29 10:43:15 +00:00
njoly 1fe37e8eed Check that rename(2) with NULL arguments fail with EFAULT. 2013-07-28 09:03:43 +00:00
kefren 6ca68e7c50 Disable ip forwarding at penultimate hop
Raise the ping wait time a little bit in order for changes to propagate
over ldp
2013-07-27 14:39:24 +00:00
kefren 6ea87284a2 don't expect failure anymore 2013-07-27 14:36:39 +00:00
njoly 17b707526d New testcase which checks that rump copyin/copyout/copyinstr/copyoutstr
version return EFAULT for special NULL "user" address.
ok pooka@.
2013-07-26 16:09:48 +00:00
kefren 2276864e5a add a couple of tests for dynamic MPLS routes generation using ldpd 2013-07-25 14:28:29 +00:00
christos fa3151c9b2 adjust for make(1) printing the nesting level. 2013-07-24 14:03:22 +00:00
skrll 5fad374c29 There wasn't a codegen bug - the test program itself was buggy.
Nothing to see hear... move along.
2013-07-24 11:45:48 +00:00
skrll 114c94b6cd Fix msgsz confusion. 2013-07-24 11:44:10 +00:00
kefren f9bf6846c4 Use . for shm bus path and rump_server url instead of /tmp
Exit after first reply in mpls_fw
2013-07-23 12:41:01 +00:00
martin 4ddc14a004 Move all shm files from /tmp into . so ATF can automatically do cleanup
for us. Ok: kefren
2013-07-23 12:14:49 +00:00
kefren 96e1b99106 Add a test for RFC4182 2013-07-23 11:26:33 +00:00
skrll ea7eb28732 Compile tests/lib/libc/sys/t_msgrcv with -O0 on hppa to avoid compiler
bug.
2013-07-23 07:04:18 +00:00
tron c8ccd84f1f Fix build with stack-protection enabled. 2013-07-21 15:29:04 +00:00
kefren ff6f2bd928 Add a couple of basic IP/MPLS forwarding tests 2013-07-19 04:00:40 +00:00
reinoud ef76be89bb Update test cases for UDF now udf_rename() uses the genfs_rename framework 2013-07-10 18:55:00 +00:00
reinoud f3954b9d18 Cover the last failing UDF test cases with a reference to PR kern/47986, i.e.
all rename's fail until UDF switches over to the new rename framework solving
the locking mechanism.
2013-07-08 06:44:51 +00:00
joerg e3f0a6cadb Put the vfork at the end. 2013-07-05 09:55:39 +00:00
joerg 8f5b02bd33 Use conditional calls to vfork() to prevent the compiler from inlining
the intermediate stack frames. Mark the __start frame as optional.
2013-07-04 23:53:13 +00:00
pooka 528e47fc44 Remove makevirtif(), it's not likely to be used in testing.
(and this file should go away anyway in favor of using ifconfig etc.)
2013-07-03 19:13:33 +00:00
nakayama f7f884f97e Enable tests which does not require rump if MKRUMP=no.
Pointed out by christos on source-changes-d.
2013-07-03 14:01:29 +00:00
reinoud 61c2992d1e Use the new extension to newfs_udf to generate a decent image for rump to work
on instead of an FFS(!) version.
2013-07-02 15:00:55 +00:00
martin 5e7b1b08fc Initialize mount args version info.
Add comment about a bogusly used "newfs" where "newfs_udf" is meant.
2013-06-30 15:42:43 +00:00
martin 05df297d98 Fix copy & pasto, notice by Nicolas Joly, one step closer to solving
PR kern/47974.
2013-06-30 15:05:49 +00:00
reinoud cb0bc59d6c Add the rumpfs_udf to the LDADD variable 2013-06-28 13:04:06 +00:00
christos 9e823bd0f7 add a pktinfo test 2013-06-27 20:01:24 +00:00
reinoud 591c440aa2 Add UDF as one of the filesytems to test. Might help understand why rump is
misbehaving on it.
2013-06-26 19:29:24 +00:00
isaki 0a3e12024b Remove header files which became unnecessary in 1.7. 2013-06-14 05:39:28 +00:00
pooka 16eee2303a Fix the test for rumpfs on amd64 by adding a creation mode to open().
thanks to gson for the prod.
2013-06-12 12:08:08 +00:00