summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2012-04-12rfork RIPPhilip Guenthe
2012-04-11Add a simple barrier regression test.Paul Irofti
2012-03-24Another tiny test casePhilip Guenthe
2012-03-19Add blocked_fifo.Owain Ainsworth
2012-03-19Add a (failing) test for a deadlock with fifos and threads.Owain Ainsworth
The ``sleep until we have a writer'' behaviour of an open() on a fifo does so with the file descriptor table locked, so if we are waiting for another thread to be our writer we will hang forever. Found this using zotero and firefox. ok fgsch@
2012-03-13better boundsOtto Moerbeek
2012-03-13rough test of the bc(1) math libOtto Moerbeek
2012-03-07another questionable hang.Federico G. Schwindt
2012-03-05If the main thread exits, the process should still be able to getPhilip Guenthe
signals
2012-03-03Add tests for sem_timedwait()Philip Guenthe
2012-03-03Verify that sem_wait() doesn't return zero without decrementing thePhilip Guenthe
semaphore when a signal is received. It should either resume waiting or return EINTR, preferrably the former.
2012-03-03While we guarantee that a zero-filled sem_t variable will triggerPhilip Guenthe
EINVAL errors, a sem_t on the stack may have garbage, so make the tests portable by moving the sem_t from function to file scope. problem found by miod@
2012-02-27test based on python's dubious test_3_join_in_forked_from_thread test.Federico G. Schwindt
2012-02-26update error message. inetd has not been used since rev 1.3.Federico G. Schwindt
spotted by miod@
2012-02-26similar change to the setsockopt1.c one: use the resolution of the monotonicFederico G. Schwindt
clock from clock_getres(). while here use a different port when binding.
2012-02-26Remove OpenBSD release numbers from these tests,Ingo Schwarze
or the tests are going to break after each release.
2012-02-26Let this compile with gcc 2.Miod Vallat
2012-02-23Check that PTHREAD_MUTEX_NORMAL mutexes will self-deadlock and thatPhilip Guenthe
pthread_mutex_timedlock() will block and then timeout on self-deadlock
2012-02-22similar change to the setsockopt1.c one: use the resolution of the monotonicFederico G. Schwindt
clock from clock_getres(). while here use a different port when binding.
2012-02-21Add pthread_suspend_np regress test. okay guenther@Kurt Miller
2012-02-20Switch the time measuring to be in timespecs, and then check thePhilip Guenthe
difference against the resolution of the monotonic clock from clock_getres() discussed with fgsch@
2012-02-20- remove invalid potions of blocked_* regress testsKurt Miller
- reenable blocked_* regress tests. while this behaivor is not specifited by posix, deadlocking is not a reasonable behaivor and some ports depend on this to work.
2012-02-20Disable the dup2_race test, as it requires a buggy behavior that uthreadsPhilip Guenthe
happened to exhibit
2012-02-20Round-robin behavior isn't guaranteed by SCHED_OTHER and the kernelPhilip Guenthe
doesn't have SCHED_FIFO or SCHED_RR support, so use sleep(1) to 'ensure' the second thread gets the lock when expected
2012-02-20Enable the errno test; add a quick rwlocks testPhilip Guenthe
2012-02-20End the output with a newlinePhilip Guenthe
2012-02-20This test needs a large nprocs ulimit, so just have it raise its ownPhilip Guenthe
2012-02-20Need to block the signals in all thread for the kill(getpid(), SIGFOO)Philip Guenthe
tests to work. Disable the "sigwait for blocked but ignored signal" test as it depended on undefined behavior (POSIX quoted included for reference) and rthreads (currently) handles it the other way.
2012-02-20SIGSTOP, SIGKILL, and (for threaded programs) SIGTHR are unblockablePhilip Guenthe
2012-02-20pthread_sigmask() was fixed to return the errno value on failurePhilip Guenthe
2012-02-20ops. compare against the socket timeout, not the alarm one.Federico G. Schwindt
sometimes these tests are incorrectly marked as failing (ktrace shows the read is returning within the specified timeout) but there are other times where they're taking slightly longer than expected. for now both cases are marked as failure.
2012-02-19fix tests.Federico G. Schwindt
2012-02-19Add Id and public-domain declarationPhilip Guenthe
2012-02-19Add regress test for stack attributesPhilip Guenthe
Disable some tests that depended on uthread's particular undefined behavior
2012-02-08Add IPv6 tests for fragmented destination options, fragments withoutAlexander Bluhm
payload, fragmented UDP packets.
2012-01-31Add test suite for IPv6 neighbor discovery protocol. Send all kindAlexander Bluhm
of solicitations to remote host and check responses. This can be used to test both pf neighbor discovery states and the IPv6 stack.
2012-01-27Test sending a short atomic IPv6 fragment.Alexander Bluhm
2012-01-24Add a test for atomic IPv6 fragment reassembly.Alexander Bluhm
2012-01-23After overlapping IPv6 fragments have been dropped, new fragmentsAlexander Bluhm
with the same id get reassembled into a valid packet. Adapt test.
2012-01-13According to RFC 5722 we drop all IPv6 fragments that belong to aAlexander Bluhm
packet with overlaps. Adapt existing tests.
2012-01-11Do not read dstaddr from command line, get it from addr.py.Alexander Bluhm
2012-01-10According to RFC 5722 we drop all IPv6 fragments that belong to aAlexander Bluhm
packet with overlaps. Adapt existing tests and add one more.
2012-01-06Add tests for IPv6 fragment reassembly. Hand-crafted ping6Alexander Bluhm
echo-request fragments are sent by scapy to the target machine. There they get reassembled and a echo-reply comes back. The ping6 payload is checked.
2012-01-04link new semaphore testsMartin Pieuchot
2012-01-04Basic semaphore testsMartin Pieuchot
ok guenther@
2012-01-04Heads of .It macros in -diag lists are not parsed,Ingo Schwarze
even though .It macros in general are parsed. Fixing a bug reported by deraadt@, based on an incomplete fix by kristaps@, and update the test suite to catch this issue.
2011-12-26The __bounded__ declaration on getcwd() has been corrected, so updatePhilip Guenthe
the expected test results to match and convert one to be a test of getwd()
2011-12-12update regression tests wrt skip steps (fixed in pfctl.c rev1.305);Mike Belopuhov
ok henning mcbride (a while back)
2011-12-12fixup regression tests wrt skip steps (fixed in pfctl.c rev1.305);Mike Belopuhov
ok henning mcbride (a while back)
2011-12-12better output on error.Federico G. Schwindt