summaryrefslogtreecommitdiff
path: root/test/testfnmatch.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2004-03-13 13:01:05 +0000
committerRyan Bloom <rbb@apache.org>2004-03-13 13:01:05 +0000
commitdc8c2b704110783b12d842f1e819146fa46c48ea (patch)
tree8952778239c6dca6ba0f3d4fcc9b8cf88786498f /test/testfnmatch.c
parent6abd934049602dd310d584241986f653bb8d6c0d (diff)
downloadapr-dc8c2b704110783b12d842f1e819146fa46c48ea.tar.gz
Fix testfnmatch, it must clean up after itself by cd'ing back into
the main test directory. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64980 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testfnmatch.c')
-rw-r--r--test/testfnmatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testfnmatch.c b/test/testfnmatch.c
index dbd5852c0..adc8b29cb 100644
--- a/test/testfnmatch.c
+++ b/test/testfnmatch.c
@@ -63,6 +63,7 @@ static void test_glob_currdir(CuTest *tc)
char *dot = strrchr(list[i], '.');
CuAssertStrEquals(tc, dot, ".txt");
}
+ apr_filepath_set("..", p);
}
CuSuite *testfnmatch(void)