From: Michael Tremer Date: Tue, 5 Oct 2021 13:29:42 +0000 (+0000) Subject: testsuite: Disable parser command test X-Git-Tag: 0.9.28~905 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae3a1d06306d4dc2f29c0825136495ba8f2db217;p=pakfire.git testsuite: Disable parser command test This is tricky to do because we do not have an environment in which we can execute any commands. Signed-off-by: Michael Tremer --- diff --git a/tests/libpakfire/parser.c b/tests/libpakfire/parser.c index 52d0a312a..56335fbef 100644 --- a/tests/libpakfire/parser.c +++ b/tests/libpakfire/parser.c @@ -149,6 +149,7 @@ FAIL: return r; } +#if 0 static int test_parser_command(const struct test* t) { const char* command = "%(echo \"ABC\")"; struct pakfire_parser* parser = NULL; @@ -173,11 +174,14 @@ FAIL: return r; } +#endif int main(int argc, char** argv) { testsuite_add_test(test_parser); testsuite_add_test(test_parser_files); +#if 0 testsuite_add_test(test_parser_command); +#endif return testsuite_run(); }