summaryrefslogtreecommitdiff
path: root/test/testdup.c
Commit message (Collapse)AuthorAgeFilesLines
* Backport r917838.minfrin2010-03-071-8/+8
| | | | | | | | 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
* When we are done with apr_file_t's shall we close them?wrowe2007-10-121-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@584023 13f79535-47bb-0310-9956-ffa450edef68
* Solve two sets of issues, only two possible changes, in onewrowe2007-10-061-2/+2
| | | | | | | | | | | batch commit; * P64 architectures require us to use ABTS_SIZE_EQUAL * We need to localize to TESTBINPATH for win32 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@582544 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.jorton2006-08-031-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.jorton2006-08-031-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* Fix a host of tests that were using ABTS_INT_EQUAL to compare non-intwrowe2006-02-091-2/+2
| | | | | | | results, which caused mass quantities of compile warnings that don't reflect well on a 'test suite'. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@376406 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-041-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
* Add the line number to the verbose output from abts. This also removesrbb2004-05-141-44/+44
| | | | | | | a test that is segfaulting in testshm. That will need to be fixed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65095 13f79535-47bb-0310-9956-ffa450edef68
* Move the APR test suite from CuTest to abts. The output is cleaner,rbb2004-05-131-55/+55
| | | | | | | | | | | | and it prints output while running the test. Also, if a test fails the rest of the test function is run, allowing for proper cleanup. Finally, it is possible to call the same function multiple times with different data, and each call is considered a separate test. This is the first of a multi-step process to get a more useful test suite. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65091 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0jerenkrantz2004-02-131-49/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* Clean up these dup2 tests by retaining the original stderr file whilewrowe2002-12-291-21/+39
| | | | | | | | testing the substitution of an alternate stderr (with dup2) and finally replacing stderr with it's original, rather than closing it. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64217 13f79535-47bb-0310-9956-ffa450edef68
* Fix several bugs where handle creation failed. Win32 doesn't (and otherwrowe2002-12-281-7/+11
| | | | | | | platforms shouldn't) accept NULL as apr_file_close. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64214 13f79535-47bb-0310-9956-ffa450edef68
* Fix a couple of tests that were checking return codes directly instead ofrbb2002-12-111-2/+2
| | | | | | | using our macros. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64148 13f79535-47bb-0310-9956-ffa450edef68
* Migrate testdup to the new test suite.rbb2002-11-241-45/+116
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64082 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-131-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* Change the new_file parameter of apr_file_dup2() so that it is perfectlyaaron2002-01-241-1/+1
| | | | | | | | | | | clear that it takes an old apr_file_t* object and doesn't create a new one. This makes the function signatures of apr_file_dup() and apr_file_dup2() distinct. Reviewed by: William Rowe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62819 13f79535-47bb-0310-9956-ffa450edef68
* get the seek position initialized so that the rewind workstrawick2002-01-121-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62771 13f79535-47bb-0310-9956-ffa450edef68
* Next stage in getting testdup to work better and show better output :)dreid2002-01-121-17/+28
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62760 13f79535-47bb-0310-9956-ffa450edef68
* Test for file duplication. Not perfect but at least this gets usdreid2002-01-111-0/+127
started. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62752 13f79535-47bb-0310-9956-ffa450edef68