diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-12-16 15:15:34 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-12-16 15:15:34 -0500 |
commit | d664bef4e570647f85d6000170dba7e63807facc (patch) | |
tree | 8b847980830527df2a03613556aaf7faab258865 /tests | |
parent | c29147a267542750c90ea8fc4905e6a7708b3b55 (diff) | |
download | stasis-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.c | 2 |
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(); |