Skip to content

Commit

Permalink
Merge pull request #1329 from ejoerns/cov-fix-rmdir
Browse files Browse the repository at this point in the history
test/update_handler: check return value of g_rmdir()
  • Loading branch information
ejoerns committed Jan 17, 2024
2 parents 0a61e0e + 259ac7b commit 12f2330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/update_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ static void test_update_handler(UpdateHandlerFixture *fixture,
g_assert(g_remove(hookpath) == 0);
}

g_rmdir(mountprefix);
g_assert(g_rmdir(mountprefix) == 0);

g_free(slotpath);
g_free(imagename);
Expand Down

0 comments on commit 12f2330

Please sign in to comment.