summaryrefslogtreecommitdiffstats
path: root/test/parser/test-grub2-save-env.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-grub2-save-env.c')
-rw-r--r--test/parser/test-grub2-save-env.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parser/test-grub2-save-env.c b/test/parser/test-grub2-save-env.c
index ce9a76a..68e91bd 100644
--- a/test/parser/test-grub2-save-env.c
+++ b/test/parser/test-grub2-save-env.c
@@ -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");
OpenPOWER on IntegriCloud