summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Revert to 1.2.x style build for binary compatibility; it was neverWilliam A. Rowe Jr2008-05-285-66/+36
| | | | | | | | | assumed when these changes went into trunk that httpd would ship the 1.3.x release with httpd 2.2.x git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.3.x@661054 13f79535-47bb-0310-9956-ffa450edef68
* Correct license statements to the ASF labeling policy. Note major partsWilliam A. Rowe Jr2008-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: https://svn.apache.org/repos/asf/apr/apr/branches/1.3.x@661025 13f79535-47bb-0310-9956-ffa450edef68
* Revert r47540Mladen Turk2008-04-131-17/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@647562 13f79535-47bb-0310-9956-ffa450edef68
* Introduce apr_pollset_wakeup()Mladen Turk2008-04-131-0/+17
| | | | git-svn-id: https://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.William A. Rowe Jr2007-12-261-1/+2
| | | | | | | | This fails on ancient OS's, but then again, ancient flavors won't be compiling to x64. git-svn-id: https://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 Jeff Trawick2007-11-1810-48/+48
| | | | | | | of ABTS_INT_EQUAL et al git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@596028 13f79535-47bb-0310-9956-ffa450edef68
* check that the library function succeeded, not thatJeff Trawick2007-11-181-2/+2
| | | | | | | APR_SUCCESS == 0 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@596027 13f79535-47bb-0310-9956-ffa450edef68
* Learn the appropriate csize Allocation magic applicableWilliam A. Rowe Jr2007-11-081-3/+2
| | | | | | | | to Windows 2000 (when sparse was introduced) and later. This reverts a bogus test case. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592970 13f79535-47bb-0310-9956-ffa450edef68
* No use for rv now.William A. Rowe Jr2007-11-061-1/+0
| | | | git-svn-id: https://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.William A. Rowe Jr2007-11-061-0/+2
| | | | | | | Ask for it, either way. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592305 13f79535-47bb-0310-9956-ffa450edef68
* More effectively explain apr_shm_remove, and the hints thatWilliam A. Rowe Jr2007-11-061-10/+19
| | | | | | | | it provides to the caller. Document these assumptions by way of a proper test case, cleaning up irrespective of which implementation is available on this platform. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592258 13f79535-47bb-0310-9956-ffa450edef68
* After reviewing the code, back out the previous two commitsWilliam A. Rowe Jr2007-11-061-5/+12
| | | | | | | | and take a different approach. _destroy appears to effect a _remove in the first place. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592252 13f79535-47bb-0310-9956-ffa450edef68
* The test for remove should actually be verifying thatWilliam A. Rowe Jr2007-11-061-7/+3
| | | | | | we can no longer attach to a now-removed shm resource. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592245 13f79535-47bb-0310-9956-ffa450edef68
* Axe another poor illustration, apr_shm_destroy preceeds apr_shm_removeWilliam A. Rowe Jr2007-11-061-6/+3
| | | | | | | | | | | | for portability. (As the comment hints, a non-portable alternative does exist). And be consistent in the use of @remark's --- although I suspect that we need to review @remarks and transition many to @warning. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592235 13f79535-47bb-0310-9956-ffa450edef68
* Leftover cut-n-paste junk noted by Lucian Adrian Grijincu <lucian.grijincu ↵William A. Rowe Jr2007-11-061-1/+1
| | | | | | gmail.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592232 13f79535-47bb-0310-9956-ffa450edef68
* It is entirely pointless to have nonportable behaviors as examplesWilliam A. Rowe Jr2007-11-061-12/+1
| | | | | | | to end users of the library. Good point, however, for an @tip. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@592215 13f79535-47bb-0310-9956-ffa450edef68
* Broken on EBCDIC platforms at a minimum, perhaps others.William A. Rowe Jr2007-11-011-51/+67
| | | | | | | | | | | | | | | | | | | Previous testhash.c comments indicate an underlying problem: "I don't know why these are out of order, but they are. I would probably consider this a bug, but others should comment." The hash iterator functions do not promise/attempt any ordering. Alphabetically qsort all the dumped hashes using strcmp to provide a testable result set. (wrowe adds; I thought everyone knew better than to use try to get ordered results out of hashes ;-) Submitted by: David Jones <oscaremma gmail.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@591164 13f79535-47bb-0310-9956-ffa450edef68
* Address the make flavor discrepancies that Joe Orton pointed out.William A. Rowe Jr2007-10-311-33/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@590592 13f79535-47bb-0310-9956-ffa450edef68
* * test/testlfs.c (test_open): Fix style issues introduced inJoe Orton2007-10-301-8/+4
| | | | | | | r589929; no functional change. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@590137 13f79535-47bb-0310-9956-ffa450edef68
* Lots of testing on this first draft is needed. Committing to make it easierWilliam A. Rowe Jr2007-10-301-55/+82
| | | | | | | | | for myself and others to verify that these are good checks to determine if we can use it. I'd love if someone with zfs installed would check it out. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@589929 13f79535-47bb-0310-9956-ffa450edef68
* avoid passing function ptr in void *Jeff Trawick2007-10-291-4/+16
| | | | | | | (AIX c compiler barfs in picky mode) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@589844 13f79535-47bb-0310-9956-ffa450edef68
* fix implicit return type for closeConnection()Jeff Trawick2007-10-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@589838 13f79535-47bb-0310-9956-ffa450edef68
* Explanations would be goodWilliam A. Rowe Jr2007-10-262-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@588445 13f79535-47bb-0310-9956-ffa450edef68
* Drop redundant referenceWilliam A. Rowe Jr2007-10-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@588429 13f79535-47bb-0310-9956-ffa450edef68
* Finish reverting to the old manner of building mod_test.laWilliam A. Rowe Jr2007-10-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@588420 13f79535-47bb-0310-9956-ffa450edef68
* Back out this change, let libmod_test carry all linkage dependencies andWilliam A. Rowe Jr2007-10-251-5/+3
| | | | | | | mod_test stand alone without it's bindings. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@588394 13f79535-47bb-0310-9956-ffa450edef68
* Avoid a truncation emit, keep the math size_t big.William A. Rowe Jr2007-10-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586627 13f79535-47bb-0310-9956-ffa450edef68
* Clean up the last overflow lines, and toss in some dependenciesWilliam A. Rowe Jr2007-10-191-1/+8
| | | | | | | | | for abts/testutil, because I HATE BEING IGNORED when I change up the tests. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586234 13f79535-47bb-0310-9956-ffa450edef68
* Push check: to the end where it's easy to find, and roughly matchesWilliam A. Rowe Jr2007-10-191-16/+16
| | | | | | | | the required precidence. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586230 13f79535-47bb-0310-9956-ffa450edef68
* In my recent commit (586209) I demonstrated that we were much too wordyWilliam A. Rowe Jr2007-10-191-17/+17
| | | | | | | | | in this make file, but I choose a suboptimal automatic pattern. In this case, we want $+ to spew out all the obj's and dependency-checked lib's. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586229 13f79535-47bb-0310-9956-ffa450edef68
* ./testall and ./data/, like peanut butter and jelly. Am I right or what?William A. Rowe Jr2007-10-191-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586226 13f79535-47bb-0310-9956-ffa450edef68
* Reordering; group into logical (what a concept) groups of tests,William A. Rowe Jr2007-10-191-37/+41
| | | | | | | and axe one that isn't stand-alone anymore. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586209 13f79535-47bb-0310-9956-ffa450edef68
* Reordering, put TESTS front and centerWilliam A. Rowe Jr2007-10-191-12/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586208 13f79535-47bb-0310-9956-ffa450edef68
* Missed the pre-aprapp bindings for test gui-buildsWilliam A. Rowe Jr2007-10-181-5/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585873 13f79535-47bb-0310-9956-ffa450edef68
* Rename apr_app to clearly fall in our target tree asWilliam A. Rowe Jr2007-10-181-2/+2
| | | | | | | | | | | | | | | | | [lib]aprapp-1.lib for users who want to make NT-specific binaries (and receive full unicode envvars and command line into their main() in utf8 as if nothing happened). Hook up pre-aprapp steps just like we did for apriconv. Although it's 'named' libaprapp, it's also a static lib and needs to avoid being filled with the libapriconv dll bindings just like other static libraries which depend upon another static lib (the reason for inventing these pre-dsp's). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585870 13f79535-47bb-0310-9956-ffa450edef68
* Correct typos, apr looks goodWilliam A. Rowe Jr2007-10-182-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585822 13f79535-47bb-0310-9956-ffa450edef68
* THOSE other programs :)William A. Rowe Jr2007-10-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585637 13f79535-47bb-0310-9956-ffa450edef68
* Provide -v'erbose output during test-builds, andWilliam A. Rowe Jr2007-10-161-16/+24
| | | | | | reflow for 80 columns. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585229 13f79535-47bb-0310-9956-ffa450edef68
* * test/testlockperf.c: Silence gcc warning from missing type.Joe Orton2007-10-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585169 13f79535-47bb-0310-9956-ffa450edef68
* AlphasortWilliam A. Rowe Jr2007-10-161-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585045 13f79535-47bb-0310-9956-ffa450edef68
* Apply the Unix fix to Win32 (gee thanks Joe ;-)William A. Rowe Jr2007-10-151-7/+13
| | | | | | | | | | Enhance the test introduced by Joe in 467600 to also invert the original IP structure as an IPv6 entity for IPv4 tests, if IPv6 is present. I settled on a test IP which Win32 just happens to tollerate if an IPv6 adapter isn't present. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584885 13f79535-47bb-0310-9956-ffa450edef68
* Erm, we should /not/ fail.William A. Rowe Jr2007-10-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584678 13f79535-47bb-0310-9956-ffa450edef68
* Reset (tc->)failed so we see the second failure message.William A. Rowe Jr2007-10-151-2/+2
| | | | | | | Reported by: Lucian Adrian Grijincu <lucian.grijincu gmail.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584673 13f79535-47bb-0310-9956-ffa450edef68
* reset the fail flag or we cannot see consecutive failures. We areWilliam A. Rowe Jr2007-10-151-2/+6
| | | | | | | | interested in the original failure, as well as which section was invoked when it failed. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584663 13f79535-47bb-0310-9956-ffa450edef68
* Without otherwise addressing the issues on Win32 when presentedWilliam A. Rowe Jr2007-10-151-3/+8
| | | | | | | | with mixed-notation addresses and no IPv6 adapter present, at least avoid crashing. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584660 13f79535-47bb-0310-9956-ffa450edef68
* Better isolate IPv6 tests from the rest, and split recvfromWilliam A. Rowe Jr2007-10-151-10/+16
| | | | | | | tests to make clear which test failed. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584658 13f79535-47bb-0310-9956-ffa450edef68
* Fix testsockets the right way, moving forwards share aWilliam A. Rowe Jr2007-10-151-19/+3
| | | | | | clue with the user. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584657 13f79535-47bb-0310-9956-ffa450edef68
* Prevent the suite from crashing on win32, watch out for anWilliam A. Rowe Jr2007-10-151-1/+5
| | | | | | | | empty sa result when using win32 with IPv6 extentions and no IPv6 driver; it seems it leverages the driver to resolve the third class of IPv6 addresses on Win XP SP2 at least. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584650 13f79535-47bb-0310-9956-ffa450edef68
* Test won't compile on AIX, stop overloading symbol names!William A. Rowe Jr2007-10-151-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584642 13f79535-47bb-0310-9956-ffa450edef68
* Patch to resolve one stray case of AF not available.William A. Rowe Jr2007-10-141-2/+13
| | | | | | | | Also patch for OS2, Windows AF codes. What a joke. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@584637 13f79535-47bb-0310-9956-ffa450edef68