summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Backport r1236970, r1237078 and r1237507 from trunk.bojan2012-01-301-0/+74
| | | | | | Randomise hashes by providing a seed (initial hash value). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1237547 13f79535-47bb-0310-9956-ffa450edef68
* Fix test case for child randomness.rjung2011-11-071-41/+97
| | | | | | | Backport of r1198923 from trunk. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1198938 13f79535-47bb-0310-9956-ffa450edef68
* Document another unexpected failure, already resolvedwrowe2011-05-191-0/+1
| | | | | | Backports: r1124983 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1125001 13f79535-47bb-0310-9956-ffa450edef68
* Add more pattern tests involving slashes.wrowe2011-05-181-1/+11
| | | | | | Backports: r1124322 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1124324 13f79535-47bb-0310-9956-ffa450edef68
* Sync fnmatch pattern tests to apr-2.0 trunk at r1104503.wrowe2011-05-171-0/+60
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1104505 13f79535-47bb-0310-9956-ffa450edef68
* Remove assumption that drive letters are always uppercase.wrowe2011-05-031-0/+44
| | | | | | | | | | | | | * test/testnames.c: (merge_lowercasedrive): do some tests with lowercase drive names Patch by: Bert Huijben <bert {at} qqmail.nl> r960665 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1099175 13f79535-47bb-0310-9956-ffa450edef68
* Augment tests, still more to addwrowe2011-05-031-25/+80
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1098900 13f79535-47bb-0310-9956-ffa450edef68
* Some fnmatch patterns, more neededwrowe2011-05-021-0/+54
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1098664 13f79535-47bb-0310-9956-ffa450edef68
* From trunk:trawick2011-04-291-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. r1089433 poll, pollset, pollcb on Windows: Handle calls with no file/socket descriptors. PR: 49882 Patch for one situation submitted by: Stefan Ruppert <sr myarm.com> Extended by: trawick 2. r1089528 fix variable initialization bug in r1089433 3. r987639 disable entire impl_pollcb_create() function if APR_HAS_THREADS instead of just inserting a return at the top 4. tiny part of r899905 move decl of loop control variables to the block where used --/-- Not in trunk or 1.5.x branch: Add @bug notice to apr_poll()/apr_pollset_poll()/apr_pollcb_poll() mentioning the Windows problem in versions 1.4.2 and prior. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1097797 13f79535-47bb-0310-9956-ffa450edef68
* NetWare test makefile fixes.fuankg2011-04-178-51/+32
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1094203 13f79535-47bb-0310-9956-ffa450edef68
* merge trunk revs 1083169, 1083177, 1083178, 1083183, and 1083227trawick2011-03-212-0/+4
| | | | | | | | | | to resolve some gcc warnings and dead code on Windows (the testlfsabi change from r1083183 is omitted, as the testcases aren't in this branch) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1083870 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.fuankg2011-03-1812-103/+112
| | | | | | | Backport of all recent changes to trunk. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1082778 13f79535-47bb-0310-9956-ffa450edef68
* apr_sockaddr_info_get() on AIX: Fix a problem which could settrawick2011-03-131-0/+6
| | | | | | | | | | | | | the port field in the native socket address to 1 when 0 was specified. An AIX-specific hack to work around a service name limitation used "1" as the service name, but the 1 was not replaced later. PR: 46964 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1081123 13f79535-47bb-0310-9956-ffa450edef68
* Resolve an irritating segv for those of us who deliberatelywrowe2010-10-051-1/+2
| | | | | | | have listeners on port 8021. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@1004522 13f79535-47bb-0310-9956-ffa450edef68
* Merge r983618 from trunk:rpluem2010-08-201-6/+29
| | | | | | | | | | | | | | | | | | * network_io/unix/sockets.c (apr_socket_connect): Copy the remote address by value rather than by reference. This ensures that the sockaddr object returned by apr_socket_addr_get is allocated from the same pool as the socket object itself, as apr_socket_accept does; avoiding any potential lifetime mismatches. * test/testsock.c (test_get_addr): Enhance test case to cover this. PR: 49713 Submitted by: jorton Reviewed by: rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@987540 13f79535-47bb-0310-9956-ffa450edef68
* Backport r917838.minfrin2010-03-079-62/+62
| | | | | | | | Use the APR_FOPEN_* constants instead of the deprecated APR_* constants within code inside the test suite. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@920011 13f79535-47bb-0310-9956-ffa450edef68
* backport r888669 from trunk:covener2010-01-041-1/+1
| | | | | | | | | let HP-UX on IA64 fall through to the default unix case, using .so instead of .sl. http://docs.hp.com/en/B2355-90968/linkerdifferencesiapa.htm git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@895524 13f79535-47bb-0310-9956-ffa450edef68
* merge r834585 from trunk:trawick2009-11-141-1/+105
| | | | | | | | | add testcases for method fallback logic in apr_{pollcb|pollset}_create_ex(), including one for a crash fixed in r834029 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836106 13f79535-47bb-0310-9956-ffa450edef68
* merge r834130 and r834133 from trunk:trawick2009-11-141-20/+24
| | | | | | | | | | | | | | | | | fix incorrect assumptions in pollset/pollcb tests: - polling won't necessary detect the status change immediately after an I/O operation - a single poll call won't necessarily return multiple status changes after multiple I/O operations and whitespace fixes Submitted by: Neil Conway <nrc cs.berkeley.edu> Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836104 13f79535-47bb-0310-9956-ffa450edef68
* Merge r833907 from trunk:trawick2009-11-081-1/+6
| | | | | | | | | | don't assume child process can both connect and close before parent can both accept and look for EOF (fixes intermittent failure seen on Linux and OpenSolaris) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@833920 13f79535-47bb-0310-9956-ffa450edef68
* Merge r821524, r822431, r822892, r824500 from trunk:rpluem2009-10-162-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add apr_socket_is_connected to detect whether the remote side of a socket is still open. The origin of apr_socket_is_connected is r473278 from http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c in httpd. * Improve the documentation Suggested by: jorton * Improve the documentation even further Reviewed by: jim * include/apr_network_io.h, * network_io/unix/socket_util.c (apr_socket_atreadeof): Renamed from apr_socket_is_connected; adjusted to return an apr_status_t error code, and pass an "at EOF" flag via an output parameter. * test/testsock.c (test_atreadeof): Renamed from test_is_connected, adjusted for new API. Reviewed by: jorton, rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@826089 13f79535-47bb-0310-9956-ffa450edef68
* Backport r824549: fixed error message in abts_ptr_notnull()fuankg2009-10-161-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@825913 13f79535-47bb-0310-9956-ffa450edef68
* cleaned up main NetWare test makefile.fuankg2009-10-051-206/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@822048 13f79535-47bb-0310-9956-ffa450edef68
* improved NetWare test makefiles.fuankg2009-10-053-13/+520
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821960 13f79535-47bb-0310-9956-ffa450edef68
* fixed nw_misc.c so that it doesnt overwrite line 24 anymore.fuankg2009-10-059-2095/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821954 13f79535-47bb-0310-9956-ffa450edef68
* renamed NetWare makefiles to our usuaL scheme.fuankg2009-10-058-0/+2087
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821952 13f79535-47bb-0310-9956-ffa450edef68
* Backport r809854 from the trunk.bojan2009-09-013-2/+13
| | | | | | | Pass environment to children in testsock, testshm and testproc. Further fixes for PR 47590. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@809859 13f79535-47bb-0310-9956-ffa450edef68
* Backport r800627 from the trunk.bojan2009-08-031-0/+3
| | | | | | One more place where passing in the environment may help with ICC. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@800628 13f79535-47bb-0310-9956-ffa450edef68
* Backport r799497 from the trunk.bojan2009-07-312-0/+6
| | | | | | | Pass default environment in testflock and testoc (for ICC compiled stuff). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@799500 13f79535-47bb-0310-9956-ffa450edef68
* replaced pressanykey() since it blocks the NetWare loader when called inside ↵fuankg2009-07-151-2/+12
| | | | | | _NonAppStop(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@794365 13f79535-47bb-0310-9956-ffa450edef68
* play nice when called from bash.fuankg2009-06-301-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@789991 13f79535-47bb-0310-9956-ffa450edef68
* As I had gone ahead and built this table as part of another exercise,wrowe2008-11-211-1/+46
| | | | | | | | it seems worth depositing it here, although the list is redundant for our purposes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@719690 13f79535-47bb-0310-9956-ffa450edef68
* "make testall" does not build the support programs (readchild, mod_test.la, ...)gregames2008-10-031-1/+1
| | | | | | | | | causing testdso and testflock to fail and testpipe to hang. type less, accomplish more... git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@701392 13f79535-47bb-0310-9956-ffa450edef68
* Test for telnet service instead of http (Solaris 8 doesn't have http).bojan2008-08-111-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@684616 13f79535-47bb-0310-9956-ffa450edef68
* Moved new apr_file_link() function to open.c for all platformstdonovan2008-07-252-20/+19
| | | | | | | | Fixed args & return value for Windows. re: PR 44841 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@679652 13f79535-47bb-0310-9956-ffa450edef68
* Add apr_file_link() function.bojan2008-07-251-0/+20
| | | | | | | PR 44841. Patch by Mark Heily <mark heily.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@679630 13f79535-47bb-0310-9956-ffa450edef68
* * Increase the size of the mapped block from 16k to 64k since the default pagerpluem2008-06-181-2/+2
| | | | | | | | | size for linux on ppc64 architecture is sometimes 64k depending on how the kernel was compiled. The increase in the block size does not harm any platforms where this test worked before as 64k is a multiple of 16k. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@669111 13f79535-47bb-0310-9956-ffa450edef68
* Use correct format for apr_time_t.bojan2008-06-171-2/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@668878 13f79535-47bb-0310-9956-ffa450edef68
* Add test for apr_getservbyname().bojan2008-06-021-0/+21
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@662326 13f79535-47bb-0310-9956-ffa450edef68
* Correct license statements to the ASF labeling policy. Note major partswrowe2008-05-282-13/+12
| | | | | | | | | | | | | | of all of apr are already Copyright Ryan Bloom; this is captured in the commit history. However this statement is no longer complete as the code has been modified by other committers, the generic statement is more appropiate. If there is a canonical home for abts, this instead should be noted in these source files. I'm not aware Ryan is maintaining one, apparently http://rkbloom.net/os.html is the homepage, but the links are broken. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@661023 13f79535-47bb-0310-9956-ffa450edef68
* Revert unintentional r658631 change to Makefile.inwrowe2008-05-211-2/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@658632 13f79535-47bb-0310-9956-ffa450edef68
* Add APR_DSOPATH for walking library path locationswrowe2008-05-211-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@658631 13f79535-47bb-0310-9956-ffa450edef68
* Revert r47540mturk2008-04-131-17/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@647562 13f79535-47bb-0310-9956-ffa450edef68
* Introduce apr_pollset_wakeup()mturk2008-04-131-0/+17
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@647540 13f79535-47bb-0310-9956-ffa450edef68
* win32 find.exe != bsd/gnu find, and we want the native flavor.wrowe2007-12-261-1/+2
| | | | | | | | This fails on ancient OS's, but then again, ancient flavors won't be compiling to x64. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@606955 13f79535-47bb-0310-9956-ffa450edef68
* fix some obvious reversals of expected and actual values in invocations trawick2007-11-1810-48/+48
| | | | | | | of ABTS_INT_EQUAL et al git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@596028 13f79535-47bb-0310-9956-ffa450edef68
* check that the library function succeeded, not thattrawick2007-11-181-2/+2
| | | | | | | APR_SUCCESS == 0 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@596027 13f79535-47bb-0310-9956-ffa450edef68
* Learn the appropriate csize Allocation magic applicablewrowe2007-11-081-3/+2
| | | | | | | | to Windows 2000 (when sparse was introduced) and later. This reverts a bogus test case. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592970 13f79535-47bb-0310-9956-ffa450edef68
* No use for rv now.wrowe2007-11-061-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592306 13f79535-47bb-0310-9956-ffa450edef68
* On some (bogus) platforms we can only discover csize-by-name.wrowe2007-11-061-0/+2
| | | | | | | Ask for it, either way. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@592305 13f79535-47bb-0310-9956-ffa450edef68