From d664bef4e570647f85d6000170dba7e63807facc Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 16 Dec 2024 15:15:34 -0500 Subject: git_clone: rework the error handler to return the proper exit code * Use goto to drop out for different failure conditions --- tests/test_recipe.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') diff --git a/tests/test_recipe.c b/tests/test_recipe.c index 7c55cd5..531b3b4 100644 --- a/tests/test_recipe.c +++ b/tests/test_recipe.c @@ -94,8 +94,6 @@ int main(int argc, char *argv[]) { STASIS_TEST_FUNC *tests[] = { test_recipe_clone, }; - mkdir("workspace", 0755); - pushd("workspace"); STASIS_TEST_RUN(tests); popd(); STASIS_TEST_END_MAIN(); -- cgit