summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo.jorton2003-05-151-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64505 13f79535-47bb-0310-9956-ffa450edef68
* Use $(LIBTOOL) instead of $(LINK) for the mod_test shared objects.jerenkrantz2003-05-141-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64504 13f79535-47bb-0310-9956-ffa450edef68
* apr_file_gets(): Return APR_SUCCESS if any characters aretrawick2003-05-011-4/+7
| | | | | | | | | | returned. Any I/O errors or EOF will be reported on the next call. Callers that are coded to expect returned data + APR_EOF when there is no final newline are affected by this change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64498 13f79535-47bb-0310-9956-ffa450edef68
* fix some problems with undesired build droppings left around aftertrawick2003-04-301-12/+23
| | | | | | | | | | | | | | | | | | "make [foo]clean" for make clean: zap all test programs, not just the ones we run from "make check" for make distclean: zap exports.c, export_vars.h instead of waiting for extraclean zap apr_rules.mk... fix the old rules.mk references that weren't changed when the file was renamed to rules.mk for make extraclen: zap ltmain.sh and libtool.m4 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64497 13f79535-47bb-0310-9956-ffa450edef68
* Fail gracefully rather than SEGV if data/file_datafile.txt can't be opened.jorton2003-04-291-1/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64495 13f79535-47bb-0310-9956-ffa450edef68
* Localize the fudge added in r1.10 to Win32, since it makes the testjorton2003-04-291-0/+6
| | | | | | | return NotImpl if run as root on Unix. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64494 13f79535-47bb-0310-9956-ffa450edef68
* get prototype for apr_snprintf()trawick2003-04-271-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64491 13f79535-47bb-0310-9956-ffa450edef68
* we already verify that apr-determined format strings worktrawick2003-04-181-7/+21
| | | | | | | | fine with the system library; might as well check that they work with apr_snprintf too git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64487 13f79535-47bb-0310-9956-ffa450edef68
* no need to list testall more than oncetrawick2003-04-181-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64486 13f79535-47bb-0310-9956-ffa450edef68
* Add another hack to make testdso pass on BSD/OS; this needs fixingjorton2003-04-161-1/+1
| | | | | | | | properly sometime as these workarounds will break with future libtool releases. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64484 13f79535-47bb-0310-9956-ffa450edef68
* since the string description for APR_ENOENT comes from thetrawick2003-04-161-3/+7
| | | | | | | | | | | | | | system library (on Unix-like systems, at least), don't assume that the message is always "No such file or directory" (it might not even be returned in English) for APR_ENOENT, just make sure we get some string back add a test for an APR-specific error code where we can expect a certain string from apr_strerror() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64482 13f79535-47bb-0310-9956-ffa450edef68
* implement APR_UINT64_T_HEX_FMTtrawick2003-04-151-0/+20
| | | | | | | Reviewed by: Bill Rowe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64480 13f79535-47bb-0310-9956-ffa450edef68
* add some tests of apr_pollset_remove()trawick2003-04-121-0/+79
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64479 13f79535-47bb-0310-9956-ffa450edef68
* iov_len can be too big for an int (e.g., ia64 Linux)trawick2003-04-121-4/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64478 13f79535-47bb-0310-9956-ffa450edef68
* Add tests for APR_{U,}INT64_T_FMT and apr_strerror.jorton2003-03-241-0/+30
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64449 13f79535-47bb-0310-9956-ffa450edef68
* static main() doesn't worktrawick2003-03-241-1/+1
| | | | | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64448 13f79535-47bb-0310-9956-ffa450edef68
* After consulting with the APR list, it was decided that /map file creationwrowe2003-02-202-8/+8
| | | | | | | | | | | | | | | | | | is fairly redundant when you retain rich .pdb debugging symbol files. We have rarely used them, and generally .dbg and .pdb files prove much more useful for the cases we have. While eliminating /map files, we are also shrinking the size of the .dbg files by stripping 'private' symbol information. Really this means less rich diagnostics from Dr. Watson on NT or Win9x when they query the .dbg symbols in creating a DrWatson log file. But it's more than compensated for on newer OS'es where Dr. Watson will query the .pdb symbols, on all Win32 flavors when WinDbg is used with the .pdb symbols, and the fact that the distribution of binary symbols will use less bandwidth when less information is duplicated from the .pdb format into the .dbg files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64369 13f79535-47bb-0310-9956-ffa450edef68
* Added the apr_env test to the NetWare test buildbnicholes2003-02-181-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64367 13f79535-47bb-0310-9956-ffa450edef68
* Added a new module, apr_env, for manipulating the environment. The newbrane2003-02-175-2/+133
| | | | | | | | functions are apr_env_get, apr_env_set and apr_env_delete. Also added a set of tests for the new functions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64363 13f79535-47bb-0310-9956-ffa450edef68
* Added testpath to the NetWare tests makefilebnicholes2003-02-121-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64353 13f79535-47bb-0310-9956-ffa450edef68
* Added two new functions, apr_filepath_list_split and apr_filepath_list_merge,brane2003-02-127-3/+189
| | | | | | | | | | for managing search paths. The common implementation is in a new file, file_io/unix/filepath_util.c. Also added tests for these functions a new file in the test suite, testpath.c. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64349 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a compile problem if mmap has not been implementedbnicholes2003-02-071-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64336 13f79535-47bb-0310-9956-ffa450edef68
* test_buffered_write_size: Pass TRUNCATE not EXCL to open so test isn'tjorton2003-02-071-4/+4
| | | | | | | | guaranteed to fail if run more than once. Use apr_assert_success for better failure messages. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64335 13f79535-47bb-0310-9956-ffa450edef68
* Added a new test to check the behaviour of apr_file_info_get inbrane2003-02-031-0/+33
| | | | | | | | combination with buffered writes. At the moment, this test will probably fail on all plaforms. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64324 13f79535-47bb-0310-9956-ffa450edef68
* Clean up the test by making sure that the test string is consistent and that itbnicholes2003-01-311-4/+11
| | | | | | | only tests that valid memory portion. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64322 13f79535-47bb-0310-9956-ffa450edef68
* Fix the time vs apr_time_now comparison to really allow 1 secondjorton2003-01-161-1/+1
| | | | | | | of leeway. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64299 13f79535-47bb-0310-9956-ffa450edef68
* Add the pipe test back in for NetWarebnicholes2003-01-142-9/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64293 13f79535-47bb-0310-9956-ffa450edef68
* One cannot just 'shift' the time by editing tm_gmtoff.wrowe2003-01-101-3/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64287 13f79535-47bb-0310-9956-ffa450edef68
* Need to build accessor binaries for the test suitewrowe2003-01-101-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64285 13f79535-47bb-0310-9956-ffa450edef68
* Add the NetWare file system root stringbnicholes2003-01-081-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64280 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protection for include/arch/ header filesthommay2003-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aix/dso.h -> -> aix/apr_arch_dso.h beos/dso.h -> beos/apr_arch_dso.h beos/proc_mutex.h -> beos/apr_arch_proc_mutex.h beos/thread_cond.h -> beos/apr_arch_thread_cond.h beos/thread_mutex.h -> beos/apr_arch_thread_mutex.h beos/threadproc.h -> beos/apr_arch_threadproc.h beos/thread_rwlock.h -> beos/apr_arch_thread_rwlock.h netware/dso.h -> -> netware/apr_arch_dso.h netware/fileio.h -> -> netware/apr_arch_fileio.h netware/global_mutex.h -> netware/apr_arch_global_mutex.h netware/internal_time.h -> netware/apr_arch_internal_time.h netware/networkio.h -> netware/apr_arch_networkio.h netware/pre_nw.h -> netware/apr_arch_pre_nw.h netware/proc_mutex.h -> netware/apr_arch_proc_mutex.h netware/thread_cond.h -> netware/apr_arch_thread_cond.h netware/thread_mutex.h -> netware/apr_arch_thread_mutex.h netware/threadproc.h -> netware/apr_arch_threadproc.h netware/thread_rwlock.h -> netware/apr_arch_thread_rwlock.h os2/dso.h -> os2/apr_arch_dso.h os2/fileio.h -> os2/apr_arch_fileio.h os2/networkio.h -> os2/apr_arch_networkio.h os2/os2calls.h -> os2/apr_arch_os2calls.h os2/proc_mutex.h -> os2/apr_arch_proc_mutex.h os2/thread_cond.h -> os2/apr_arch_thread_cond.h os2/thread_mutex.h -> os2/apr_arch_thread_mutex.h os2/threadproc.h -> os2/apr_arch_threadproc.h os2/thread_rwlock.h -> os2/apr_arch_thread_rwlock.h os390/dso.h -> os390/apr_arch_dso.h unix/dso.h -> unix/apr_arch_dso.h unix/fileio.h -> unix/apr_arch_fileio.h unix/global_mutex.h -> unix/apr_arch_global_mutex.h unix/inherit.h -> unix/apr_arch_inherit.h unix/internal_time.h -> unix/apr_arch_internal_time.h unix/misc.h -> unix/apr_arch_misc.h unix/networkio.h -> unix/apr_arch_networkio.h unix/proc_mutex.h -> unix/apr_arch_proc_mutex.h unix/shm.h -> unix/apr_arch_shm.h unix/thread_cond.h -> unix/apr_arch_thread_cond.h unix/thread_mutex.h -> unix/apr_arch_thread_mutex.h unix/threadproc.h -> unix/apr_arch_threadproc.h unix/thread_rwlock.h -> unix/apr_arch_thread_rwlock.h win32/atime.h -> win32/apr_arch_atime.h win32/dso.h -> win32/apr_arch_dso.h win32/fileio.h -> win32/apr_arch_fileio.h win32/inherit.h -> win32/apr_arch_inherit.h win32/misc.h -> win32/apr_arch_misc.h win32/networkio.h -> win32/apr_arch_networkio.h win32/proc_mutex.h -> win32/apr_arch_proc_mutex.h win32/thread_cond.h -> win32/apr_arch_thread_cond.h win32/thread_mutex.h -> win32/apr_arch_thread_mutex.h win32/threadproc.h -> win32/apr_arch_threadproc.h win32/thread_rwlock.h -> win32/apr_arch_thread_rwlock.h win32/utf8.h -> win32/apr_arch_utf8.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64271 13f79535-47bb-0310-9956-ffa450edef68
* More VC dirt to sweep up after.wrowe2003-01-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64267 13f79535-47bb-0310-9956-ffa450edef68
* We don't have no stinkin ssize_t here. We also needed io.h to compile cleanwrowe2003-01-031-1/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64265 13f79535-47bb-0310-9956-ffa450edef68
* Must ... have ... extensionswrowe2003-01-032-3/+12
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64264 13f79535-47bb-0310-9956-ffa450edef68
* Need mo' targetswrowe2003-01-031-5/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64263 13f79535-47bb-0310-9956-ffa450edef68
* LL isn't portable c... we created APR_INT64_C for this purpose.wrowe2003-01-021-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64258 13f79535-47bb-0310-9956-ffa450edef68
* fix the name of the test module on AIXtrawick2003-01-021-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64257 13f79535-47bb-0310-9956-ffa450edef68
* don't test whether or not the OS will let us open a directorytrawick2003-01-021-14/+0
| | | | | | | | as a regular file... that isn't controlled by APR and on some platforms it will actually work git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64256 13f79535-47bb-0310-9956-ffa450edef68
* fix the type of an integer constant, which with xlc will removetrawick2003-01-021-1/+1
| | | | | | | a warning and get 6 more time tests to work git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64255 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-0147-47/+47
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* CuFail appends a newline; reserve blank lines to seperate test suites.wrowe2002-12-311-2/+2
| | | | | | | | This bit of formatting looks lousy either way, but this seems more consistent to me. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64250 13f79535-47bb-0310-9956-ffa450edef68
* I like Ryan's formatting of the notimpl stuff, do the same for failure.wrowe2002-12-311-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64249 13f79535-47bb-0310-9956-ffa450edef68
* Clarify what is going on here... Win32 can only recover the 'primary'wrowe2002-12-311-1/+15
| | | | | | | | | | | | group of an existing token. An arbitrary user sid can't be an authenticated token, so apr_uid_get cannot return the group. There may be a way to do so, but I hadn't found it. For now, register this case as not implemented; it would probably be better if both the apr_uid_get and apr_uid_current quit dealing in gids altogether. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64248 13f79535-47bb-0310-9956-ffa450edef68
* Look at the status before the pointer resultwrowe2002-12-311-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64245 13f79535-47bb-0310-9956-ffa450edef68
* ABS_ROOT is simpler to follow if it is what its name implieswrowe2002-12-311-16/+16
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64244 13f79535-47bb-0310-9956-ffa450edef68
* Agreed with Ryan... it's entirely redundant to run the tests twice wherewrowe2002-12-311-11/+6
| | | | | | | | | | libraries and modules are identical (although you may by defining LIB_NAME the same as MOD_NAME)... and it makes no sense to emit a not-implemented message in this case. Drop the exception, and exclude the _library() fns if LIB_NAME is undefined. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64242 13f79535-47bb-0310-9956-ffa450edef68
* No pthread_setconcurrency here on Darwin.wrowe2002-12-291-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64236 13f79535-47bb-0310-9956-ffa450edef68
* standardize on a couple of easy to test for error codes for DSO errors.rbb2002-12-291-6/+8
| | | | | | | This doesn't work fully on Windows yet, that is the next commit. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64233 13f79535-47bb-0310-9956-ffa450edef68
* Only APR_FINFO_DIRENT is guarenteed to be supported... other platformswrowe2002-12-291-5/+5
| | | | | | | | | may be missing things such as APR_FINFO_GROUP, APR_FINFO_INODE etc. It would be healthy to add a {seperate} test that APR_FINFO_MIN at least succeeds, but that should not be part of the mainline tests. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64231 13f79535-47bb-0310-9956-ffa450edef68
* Remove some code that we can never reach. If we fail therbb2002-12-291-12/+1
| | | | | | | | CuAssertPtrEquals, the test suite will longjmp. If we pass it, then the pointer is NULL, and we won't go to the internals of the if statement. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64230 13f79535-47bb-0310-9956-ffa450edef68