test: Fix -t=publish on haiku.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m30s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m30s
This commit is contained in:
parent
e139e952c0
commit
93b2a81495
@ -1015,6 +1015,8 @@ void tf_ssb_test_publish(const tf_test_options_t* options)
|
|||||||
char id[k_id_base64_len] = { 0 };
|
char id[k_id_base64_len] = { 0 };
|
||||||
tf_ssb_whoami(ssb, id, sizeof(id));
|
tf_ssb_whoami(ssb, id, sizeof(id));
|
||||||
|
|
||||||
|
tf_ssb_destroy(ssb);
|
||||||
|
|
||||||
char executable[1024];
|
char executable[1024];
|
||||||
size_t size = sizeof(executable);
|
size_t size = sizeof(executable);
|
||||||
uv_exepath(executable, &size);
|
uv_exepath(executable, &size);
|
||||||
@ -1033,8 +1035,6 @@ void tf_ssb_test_publish(const tf_test_options_t* options)
|
|||||||
printf("returned %d\n", WEXITSTATUS(result));
|
printf("returned %d\n", WEXITSTATUS(result));
|
||||||
assert(WEXITSTATUS(result) == 0);
|
assert(WEXITSTATUS(result) == 0);
|
||||||
|
|
||||||
tf_ssb_destroy(ssb);
|
|
||||||
|
|
||||||
uv_run(&loop, UV_RUN_DEFAULT);
|
uv_run(&loop, UV_RUN_DEFAULT);
|
||||||
uv_loop_close(&loop);
|
uv_loop_close(&loop);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user