forked from cory/tildefriends
		
	test: Fix -t=publish on haiku.
This commit is contained in:
		@@ -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);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user