]> git.ozlabs.org Git - petitboot/blob - test/parser/test-pxe-empty.c
discover: Call mount syscall directly
[petitboot] / test / parser / test-pxe-empty.c
1
2 #include "parser-test.h"
3
4 #if 0 /* PARSER_EMBEDDED_CONFIG */
5
6 #endif
7
8 void run_test(struct parser_test *test)
9 {
10         struct discover_context *ctx;
11
12         test_read_conf_embedded(test, "conf.txt");
13
14         test_set_event_source(test);
15         test_set_event_param(test->ctx->event, "pxeconffile",
16                         "tftp://host/dir/conf.txt");
17
18         test_run_parser(test, "pxe");
19
20         ctx = test->ctx;
21
22         check_boot_option_count(ctx, 0);
23 }