]> git.ipfire.org Git - people/stevee/pakfire.git/commitdiff
testsuite: Disable parser command test
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Oct 2021 13:29:42 +0000 (13:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Oct 2021 13:29:42 +0000 (13:29 +0000)
This is tricky to do because we do not have an environment in which we
can execute any commands.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/libpakfire/parser.c

index 52d0a312a6d877259ac8d10004ef548450ac2444..56335fbef4d0238302a93beef535383ad9898142 100644 (file)
@@ -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();
 }