test/parser/grub2: Fix inconsistent conf/env paths
[petitboot] / test / parser / test-grub2-save-env.c
index 7f15164f0fbee68dbbf1ce9cffbbd3376bbe16cb..ce9a76a1d85760a0bbc7f72b28c33a9619deb54c 100644 (file)
@@ -86,7 +86,7 @@ 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_add_file_data(test, test->ctx->device, "/boot/grub/grubenv",
                        env_before, strlen(env_before));
 
-       __test_read_conf_data(test, "/boot/grub2/grub.cfg", envtest->script,
+       __test_read_conf_data(test, "/boot/grub/grub.cfg", envtest->script,
                        strlen(envtest->script));
 
        test_run_parser(test, "grub2");
                        strlen(envtest->script));
 
        test_run_parser(test, "grub2");