aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-12-16 15:15:34 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-12-16 15:15:34 -0500
commitd664bef4e570647f85d6000170dba7e63807facc (patch)
tree8b847980830527df2a03613556aaf7faab258865 /tests
parentc29147a267542750c90ea8fc4905e6a7708b3b55 (diff)
downloadstasis-d664bef4e570647f85d6000170dba7e63807facc.tar.gz
git_clone: rework the error handler to return the proper exit codefix-git-clone-return
* Use goto to drop out for different failure conditions
Diffstat (limited to 'tests')
-rw-r--r--tests/test_recipe.c2
1 files changed, 0 insertions, 2 deletions
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();