testlibrary.c (flatpak-1.15.1.tar.xz) | : | testlibrary.c (flatpak-1.15.2.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 2384 | skipping to change at line 2384 | |||
{ | { | |||
g_autofree char *repo_url = g_strdup_printf ("http://127.0.0.1:%s/test", httpd _port); | g_autofree char *repo_url = g_strdup_printf ("http://127.0.0.1:%s/test", httpd _port); | |||
g_autofree char *arg2 = g_strdup_printf ("--repo-url=%s", repo_url); | g_autofree char *arg2 = g_strdup_printf ("--repo-url=%s", repo_url); | |||
g_autofree char *path = g_build_filename (testdir, "bundles", NULL); | g_autofree char *path = g_build_filename (testdir, "bundles", NULL); | |||
g_autofree char *file = g_build_filename (path, "hello.flatpak", NULL); | g_autofree char *file = g_build_filename (path, "hello.flatpak", NULL); | |||
char *argv[] = { "flatpak", "build-bundle", "repo-url", "repos/test", "filenam e", "org.test.Hello", NULL }; | char *argv[] = { "flatpak", "build-bundle", "repo-url", "repos/test", "filenam e", "org.test.Hello", NULL }; | |||
argv[2] = arg2; | argv[2] = arg2; | |||
argv[4] = file; | argv[4] = file; | |||
g_debug ("Making dir %s", path); | g_info ("Making dir %s", path); | |||
g_mkdir_with_parents (path, S_IRWXU | S_IRWXG | S_IRWXO); | g_mkdir_with_parents (path, S_IRWXU | S_IRWXG | S_IRWXO); | |||
run_test_subprocess (argv, RUN_TEST_SUBPROCESS_DEFAULT); | run_test_subprocess (argv, RUN_TEST_SUBPROCESS_DEFAULT); | |||
} | } | |||
static void | static void | |||
make_test_runtime (const char *runtime_repo_name) | make_test_runtime (const char *runtime_repo_name) | |||
{ | { | |||
g_autofree char *arg0 = NULL; | g_autofree char *arg0 = NULL; | |||
g_autofree char *arg1 = NULL; | g_autofree char *arg1 = NULL; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |