diff options
author | Hello71 <alex_y_xu@yahoo.ca> | 2021-01-09 19:16:20 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2021-01-22 13:19:52 +0000 |
commit | 2e76b024015cb1f0263bfe53746a759b7d255a20 (patch) | |
tree | 3121c7a60aefd06daedb50a1e35d3501ad7d06a1 /src/test/test_util.c | |
parent | e5a0c739d4865b300e904d45c413d5c8f0da304c (diff) | |
download | tor-2e76b024015cb1f0263bfe53746a759b7d255a20.tar.gz tor-2e76b024015cb1f0263bfe53746a759b7d255a20.zip |
path: fix directory special case
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index b3a1e2caca..546b3c2907 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -4562,15 +4562,8 @@ test_util_glob(void *ptr) TEST("file1"); EXPECT(results_test9); -#if defined(__APPLE__) || defined(__darwin__) || \ - defined(__FreeBSD__) || defined(__NetBSD__) || defined(OpenBSD) TEST("file1"PATH_SEPARATOR); EXPECT_EMPTY(); -#else - const char *results_test10[] = {"file1"}; - TEST("file1"PATH_SEPARATOR); - EXPECT(results_test10); -#endif // test path separator at end - with wildcards and linux path separator const char *results_test11[] = {"dir1", "dir2", "forbidden"}; |