summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* * test/testpoll.c: Fix test suite until the tests using the old APIjorton2003-11-201-1/+14
| | | | | | | are either converted to the new API or removed, as appropriate. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64777 13f79535-47bb-0310-9956-ffa450edef68
* Pull the random test from the netware buildbnicholes2003-11-171-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64769 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in: Link programs using -no-install flag so that theyjorton2003-11-171-17/+21
| | | | | | | | | | | really are binary executables, not libtool wrapper scripts, and without the -avoid-version flag which produces a warning for programs. (reinforced dependency on libtool >=1.4 for this Makefile) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64765 13f79535-47bb-0310-9956-ffa450edef68
* * test/teststr.c (snprintf_int64): Moved from here...jorton2003-11-172-20/+20
| | | | | | | | * test/testfmt.c (more_int64_fmts): ...to here, and adjusted to use APR_UINT64_C() now it is available. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64764 13f79535-47bb-0310-9956-ffa450edef68
* Consolidate and update lists of known test failures.jorton2003-11-171-17/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64762 13f79535-47bb-0310-9956-ffa450edef68
* apr_random won't be in APR1.0.0, so pull testrand2.wrowe2003-11-171-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64758 13f79535-47bb-0310-9956-ffa450edef68
* do the right thing on BEOStrawick2003-11-161-2/+7
| | | | | | | avoid some duplication of platform knowledge git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64752 13f79535-47bb-0310-9956-ffa450edef68
* With the exception of some intersting(1) output from testall random2,wrowe2003-11-163-2/+6
| | | | | | | | | | Win32 APR1.0 now builds with apr_random. Required us to compliment APR_INT64_C with a corresponding APR_UINT64_C, and finish up Brad's efforts to APR_DECLARE() the various entry points. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64751 13f79535-47bb-0310-9956-ffa450edef68
* axing deprecated apr_atomic_foo functionstrawick2003-11-161-111/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64747 13f79535-47bb-0310-9956-ffa450edef68
* rewrite some tests that previously only worked in a particular tztrawick2003-11-151-15/+28
| | | | | | | | | | | | | we can still check apr_ctime()... compare output with what the libc function ctime() builds the important part of test_localstr() was exploding an apr time into the different components (tm_sec, tm_hour, etc.)... again, get libc to perform the same task and make sure we agree with what libc generated git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64743 13f79535-47bb-0310-9956-ffa450edef68
* Add the random tests the NetWare buildbnicholes2003-11-112-1/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64740 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of tabs.ben2003-11-061-138/+138
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64733 13f79535-47bb-0310-9956-ffa450edef68
* Endianness and APR types for random.ben2003-11-052-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64728 13f79535-47bb-0310-9956-ffa450edef68
* Avoid warning.ben2003-11-051-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64727 13f79535-47bb-0310-9956-ffa450edef68
* Really fix the build again.jorton2003-11-052-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64722 13f79535-47bb-0310-9956-ffa450edef68
* Make sure randomness is different after a fork.ben2003-11-031-0/+83
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64716 13f79535-47bb-0310-9956-ffa450edef68
* Start of new PRNG.ben2003-11-034-1/+253
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64712 13f79535-47bb-0310-9956-ffa450edef68
* * testdso.c: Fix build when --disable-dso is used.jorton2003-10-291-0/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64699 13f79535-47bb-0310-9956-ffa450edef68
* * test/testfileinfo.c (finfo_equal, test_stat_eq_finfo): Avoidjorton2003-10-051-30/+30
| | | | | | | | triggering a gcc 2.9x structure passing bug on IA64 Linux by passing pointers to structures git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64683 13f79535-47bb-0310-9956-ffa450edef68
* * test/testrand.c (rand_exists): Don't ask for so much randomjorton2003-10-041-7/+3
| | | | | | | data. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64682 13f79535-47bb-0310-9956-ffa450edef68
* Fix default impl of apr_atomic_xchg32, and add a test case for itbrianp2003-09-261-0/+13
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64642 13f79535-47bb-0310-9956-ffa450edef68
* make empty parameter list explicit to avoid compile warningtrawick2003-09-251-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64641 13f79535-47bb-0310-9956-ffa450edef68
* new version of atomic API that works specifically on apr_uint32_t values for ↵brianp2003-09-251-0/+83
| | | | | | greater portability git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64639 13f79535-47bb-0310-9956-ffa450edef68
* minor syntax tweaktrawick2003-09-191-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64631 13f79535-47bb-0310-9956-ffa450edef68
* remove an unused function argumentbrianp2003-09-191-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64630 13f79535-47bb-0310-9956-ffa450edef68
* remove an unused function argumentbrianp2003-09-191-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64629 13f79535-47bb-0310-9956-ffa450edef68
* Preserve leading '../' segments as when merging to an empty andwrowe2003-09-171-0/+13
| | | | | | | | | unrooted path - fixes a bug observed in SVN with Win32/Netware/OS2. Submitted by: Mike Pilato <cmpilato@collab.net>, William Rowe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64627 13f79535-47bb-0310-9956-ffa450edef68
* Yow! Another apr-1.lib required modification to get the test suitewrowe2003-09-171-1/+1
| | | | | | | working once again. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64626 13f79535-47bb-0310-9956-ffa450edef68
* run more loop iterations to better check for race conditionsbrianp2003-09-141-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64623 13f79535-47bb-0310-9956-ffa450edef68
* remove some debug code that leaked in to the last commitbrianp2003-09-141-5/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64621 13f79535-47bb-0310-9956-ffa450edef68
* fix error message in add testbrianp2003-09-141-1/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64620 13f79535-47bb-0310-9956-ffa450edef68
* remove these deprecated interfaces:trawick2003-09-036-13/+13
| | | | | | | | apr_accept, apr_bind, apr_connect, apr_listen, apr_shutdown, apr_socket_create_ex, MAX_SECONDS_TO_LINGER git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64604 13f79535-47bb-0310-9956-ffa450edef68
* axe a mysterious rbb line that ignored user-specified CFLAGS whentrawick2003-08-111-2/+0
| | | | | | | building the test programs git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64583 13f79535-47bb-0310-9956-ffa450edef68
* Add the multi-load flag to the proc_child test binary.bnicholes2003-07-311-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64575 13f79535-47bb-0310-9956-ffa450edef68
* Increate the stack size of the apr test application to support some of the largebnicholes2003-07-311-1/+2
| | | | | | | stack allocations. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64574 13f79535-47bb-0310-9956-ffa450edef68
* add a test that concentrates on APR_TRUNCATEtrawick2003-07-101-0/+40
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64567 13f79535-47bb-0310-9956-ffa450edef68
* apr_socket_data_set(): allow the same key to be used fortrawick2003-07-081-0/+28
| | | | | | | multiple sockets in the same pool. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64565 13f79535-47bb-0310-9956-ffa450edef68
* New apr_file_mtime_set() API, implemented in unix and win32.sussman2003-07-071-0/+48
| | | | | | | | | | | | | | | | | | | | Patches from Branko Cibej (brane) and Matt Kraai <kraai@alumni.cmu.edu>. * include/apr_file_io.h (apr_file_mtime_set): declare. * include/arch/win32/apr_arch_file_io.h: expand apr_file_open internal flags; add new APR_WRITEATTRS value. * file_io/win32/open.c (apr_file_open): honor APR_WRITEATTRS flag. * file_io/win32/filestat.c (apr_file_mtime_set): implement in win32. * file_io/unix/filestat.c (apr_file_mtime_set): implement in unix. * test/testfileinfo.c (test_mtime_set): new API test. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64563 13f79535-47bb-0310-9956-ffa450edef68
* Move testprocmutex from the nonportable list to testall.exe dependencies.brane2003-07-041-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64560 13f79535-47bb-0310-9956-ffa450edef68
* - more cleanups, add more error checkingjorton2003-07-031-18/+38
| | | | | | | | | - increase to using six children - add missing call to apr_proc_mutex_child_init() so the test works on platforms which use flock() locking (e.g. FreeBSD) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64559 13f79535-47bb-0310-9956-ffa450edef68
* Pass NULL to apr_proc_mutex_create rather than the invented filenamejorton2003-07-021-2/+1
| | | | | | | as per the old code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64557 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo.jorton2003-07-021-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64556 13f79535-47bb-0310-9956-ffa450edef68
* CuTest-ify and clean up the testprocmutex test:jorton2003-07-024-91/+56
| | | | | | | | | | | - make the increment operation use a slow load/increment/store cycle. - dropped support for specifying a lock filename, hopefully that is not critical - try using anonymous shm then name-based shm; fail gracefully rather than segfaulting if neither works. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64555 13f79535-47bb-0310-9956-ffa450edef68
* fix a bug in the table overlap testbrianp2003-06-241-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64551 13f79535-47bb-0310-9956-ffa450edef68
* add a testcase to catch the problem seen with PR 20295, wheretrawick2003-06-054-2/+158
| | | | | | | | | apr_file_write_full() to pipe with timeout can return EAGAIN PR: 20295 (not fixed just yet) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64527 13f79535-47bb-0310-9956-ffa450edef68
* fix some CuAssert calls that had the expected and actual values reversedtrawick2003-05-281-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64518 13f79535-47bb-0310-9956-ffa450edef68
* get testdso to work with the vendor's compiler on HP-UX, whichtrawick2003-05-281-1/+1
| | | | | | | defines a different symbol than gcc git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64517 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug that could be triggered remotely through mod_dav and possibly otherjerenkrantz2003-05-281-0/+12
| | | | | | | | | | | | | | mechanisms, causing an Apache child process to crash. The crash was first reported by David Endler <DEndler@iDefense.com> and was researched and fixed by Joe Orton <jorton@redhat.com>. Details will be released on 30 May 2003. CVE: CAN-2003-0245 Reported by: David Endler <DEndler@iDefense.com> Submitted by: Joe Orton <jorton@redhat.com> Reviewed by: Justin, Jim, Jeff git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64511 13f79535-47bb-0310-9956-ffa450edef68
* add "-l" option for listing testcases to make it easier for a regressiontrawick2003-05-181-0/+6
| | | | | | | | test to run them one at a time, since it avoids having to hard-code the testcase names git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64507 13f79535-47bb-0310-9956-ffa450edef68
* add -x option to exclude particular teststrawick2003-05-161-14/+52
| | | | | | | | | (e.g., "testall -x testrand testsleep") report some invalid invocations git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64506 13f79535-47bb-0310-9956-ffa450edef68