diff options
author | Christof Schmitt <cs@samba.org> | 2020-08-18 11:14:47 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-08-24 01:46:30 +0000 |
commit | 40afb0bbcdd5813235bf0697c091c8cac755f587 (patch) | |
tree | 9cfc25714b4075a8fcf732eb9b40426047f30189 /lib/util | |
parent | 7dabe5acdfac9b43356e2e3678ffb657e659ef7c (diff) | |
download | samba-40afb0bbcdd5813235bf0697c091c8cac755f587.tar.gz |
lib/util: Fix cleanup in unit test
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/tests/test_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/tests/test_util.c b/lib/util/tests/test_util.c index eebba39e70c..52baf9ae56d 100644 --- a/lib/util/tests/test_util.c +++ b/lib/util/tests/test_util.c @@ -111,7 +111,7 @@ static int group_teardown(void **state) ret = unlink(paths->symlink_file); assert_return_code(ret, errno); - ret = unlink(paths->testdir); + ret = rmdir(paths->testdir); assert_return_code(ret, errno); free(paths); |