| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
where directories in use cannot be removed.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@291925 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
if mkdir fails for all path components.
* test/testdir.c (test_rmkdir_nocwd): Add test case.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@291339 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
testutil.c reported. Not very useful. This change adds the passing of
the (correct) line number and also a macro to ease said passing.
I've changed all instances of apr_assert_success to use the new macro, but
not all the tests build on this platform so others should check that all
is well for them.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65171 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
a test that is segfaulting in testshm. That will need to be fixed.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65095 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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: https://svn.apache.org/repos/asf/apr/apr/trunk@65091 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
entries returned by apr_dir_read(); reported by Philip Martin.
* test/testdir.c (test_readdir_onedot, test_readdir_twodot): Remove
tests.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64912 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
No functional changes
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
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: https://svn.apache.org/repos/asf/apr/apr/trunk@64231 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64080 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64079 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
for all tests. IF you just want to run individual tests, you do that
by passing the name of the test to testall.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64065 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64024 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64011 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Unix never cared, but that's what we love about it
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62112 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
since testoc depends on occhild, build occhild when testoc is built
add some trivial error code display logic to testoc
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62093 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
- On anything not unix, a file must be closed before it can be deleted
- Use APR_STATUS_IS_ENOENT to test for ENOENT.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61822 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
FreeBSD 4.3 machine while trying to debug Subversion. :)
It happened in the thread-less section of code (since threads are
turned off on FreeBSD). It turns out that apr_dir_remove() had
previously failed and set the global `errno'. Then later on I tried
to do a looping apr_dir_read() in an empty directory. After returning
`.' and `..' as usual, the underlying unix readdir() returned NULL --
as it should. However, apr_dir_read() didn't return ENOENT as it
ought to; instead, it noticed that `errno' still had an old value and
returned that instead. The solution is to zero errno beforehand,
unless someone has a better suggestion.
* file_io/unix/dir.c (apr_dir_read): clear errno *before* you depend
on its value after calling readdir().
* test/testdir.c: new regression test for this bug.
* test/Makefile.in (testdir): build the new test.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61771 13f79535-47bb-0310-9956-ffa450edef68
|