Index: tests/minsfi/test_initializer.c |
diff --git a/tests/minsfi/test_initializer.c b/tests/minsfi/test_initializer.c |
index 5a37c75fea518937bf6e8f47f244b25b610815d5..3b5b809b37ea285e12c0e58fff97ddd8a47a4bd3 100644 |
--- a/tests/minsfi/test_initializer.c |
+++ b/tests/minsfi/test_initializer.c |
@@ -22,6 +22,9 @@ |
extern uint64_t __sfi_memory_base; |
+static int argc = 1; |
+static char *argv[] = { "foo" }; |
+ |
void helper_initialize(void) { |
ASSERT_EQ(true, MinsfiInitializeSandbox()); |
ASSERT_NE(NULL, MinsfiGetActiveSandbox()); |
@@ -30,11 +33,11 @@ void helper_initialize(void) { |
} |
void helper_invoke_success(void) { |
- ASSERT_EQ((int) 0xCAFEBABE, MinsfiInvokeSandbox()); |
+ ASSERT_EQ((int) 0xCAFEBABE, MinsfiInvokeSandbox(argc, argv)); |
} |
void helper_invoke_error(void) { |
- ASSERT_EQ(EXIT_FAILURE, MinsfiInvokeSandbox()); |
+ ASSERT_EQ(EXIT_FAILURE, MinsfiInvokeSandbox(argc, argv)); |
} |
void helper_destroy(void) { |