summaryrefslogtreecommitdiffstats
path: root/test/parser
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser')
-rw-r--r--test/parser/test-grub2-save-env.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/parser/test-grub2-save-env.c b/test/parser/test-grub2-save-env.c
index 68e91bd..36725e2 100644
--- a/test/parser/test-grub2-save-env.c
+++ b/test/parser/test-grub2-save-env.c
@@ -74,6 +74,12 @@ struct env_test {
"a=xxx\nsave_env a\n",
"q=q\na=x\nr=r\n#",
},
+ {
+ "unset-var",
+ "##############",
+ "save_env an_unset_var\n",
+ "an_unset_var=\n"
+ }
};
static void run_env_test(struct parser_test *test, struct env_test *envtest)
OpenPOWER on IntegriCloud