test/parser: Check for full URLs in parser tests
[petitboot] / test / parser / test-grub2-save-env.c
index ce9a76a1d85760a0bbc7f72b28c33a9619deb54c..68e91bdbb73d796c2dc79e934f5eeebab7745578 100644 (file)
@@ -86,7 +86,8 @@ static void run_env_test(struct parser_test *test, struct env_test *envtest)
        test_add_file_data(test, test->ctx->device, "/boot/grub/grubenv",
                        env_before, strlen(env_before));
 
-       __test_read_conf_data(test, "/boot/grub/grub.cfg", envtest->script,
+       __test_read_conf_data(test, test->ctx->device,
+                       "/boot/grub/grub.cfg", envtest->script,
                        strlen(envtest->script));
 
        test_run_parser(test, "grub2");