summaryrefslogtreecommitdiffstats
path: root/test/parser/test-pxe-empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-pxe-empty.c')
-rw-r--r--test/parser/test-pxe-empty.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/parser/test-pxe-empty.c b/test/parser/test-pxe-empty.c
new file mode 100644
index 0000000..eb3b758
--- /dev/null
+++ b/test/parser/test-pxe-empty.c
@@ -0,0 +1,19 @@
+
+#include "parser-test.h"
+
+#if 0 /* PARSER_EMBEDDED_CONFIG */
+
+#endif
+
+void run_test(struct parser_test *test)
+{
+ struct discover_context *ctx;
+
+ test_read_conf_embedded(test);
+ test_set_conf_source(test, "tftp://host/dir/conf.txt");
+ test_run_parser(test, "pxe");
+
+ ctx = test->ctx;
+
+ check_boot_option_count(ctx, 0);
+}
OpenPOWER on IntegriCloud