git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dabe5a
)
lib/util: Fix cleanup in unit test
author
Christof Schmitt
<cs@samba.org>
Tue, 18 Aug 2020 18:14:47 +0000
(11:14 -0700)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 24 Aug 2020 01:46:30 +0000
(
01:46
+0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/tests/test_util.c
patch
|
blob
|
history
diff --git
a/lib/util/tests/test_util.c
b/lib/util/tests/test_util.c
index eebba39e70ca777ba4087868dfd13c926b5db660..52baf9ae56d8e4ebafb6f07fa9b18655086a8a24 100644
(file)
--- 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);