aboutsummaryrefslogtreecommitdiff
path: root/tests/test_artifactory.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_artifactory.c')
-rw-r--r--tests/test_artifactory.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_artifactory.c b/tests/test_artifactory.c
index 4f41543..4af7eec 100644
--- a/tests/test_artifactory.c
+++ b/tests/test_artifactory.c
@@ -2,9 +2,7 @@
#include "artifactory.h"
#include "delivery.h"
-// Import private functions from core
-extern int delivery_init_platform(struct Delivery *ctx);
-extern int populate_delivery_cfg(struct Delivery *ctx, int render_mode);
+
struct JFRT_Auth gauth;
struct JFRT_Auth gnoauth;
@@ -78,6 +76,7 @@ int main(int argc, char *argv[]) {
mkdir(ws, 0755);
if (pushd(ws)) {
SYSERROR("failed to change directory to %s", ws);
+ guard_free(basedir);
STASIS_ASSERT_FATAL(true, "workspace creation failed");
}