Skip to content

Commit

Permalink
lib/util: Fix cleanup in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Christof Schmitt <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
chs authored and abartlet committed Aug 24, 2020
1 parent 7dabe5a commit 40afb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/tests/test_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 40afb0b

Please sign in to comment.