mosquitto: fix build
[oi-userland.git] / components / network / proftpd / patches / 023.dir_readlink_test.fix.patch
blob6f923a52b706f9790db5dd160638cf032871e043
2 # The test case never succeeds if it does not delete interim results.
3 # Patch has been sent to upstream:
4 # https://github.com/proftpd/proftpd/pull/713
5 # The patch will die with future re-sync.
7 diff --git a/tests/api/misc.c b/tests/api/misc.c
8 index 926d9b3e3..199883488 100644
9 --- a/tests/api/misc.c
10 +++ b/tests/api/misc.c
11 @@ -303,6 +303,7 @@ START_TEST (dir_readlink_test) {
12 res = dir_readlink(p, path, buf, bufsz, flags);
13 fail_unless(res == 0, "Failed to handle empty symlink");
15 + (void) unlink(path);
17 /* Not chrooted, absolute dst path */
18 memset(buf, '\0', bufsz);