]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* tests/test_unset.in: New test.
authorBVK Chaitanya <bvk.groups@gmail.com>
Sat, 26 Oct 2013 12:52:54 +0000 (14:52 +0200)
committerVladimir Serbinenko <phcoder@gmail.com>
Sat, 26 Oct 2013 12:52:54 +0000 (14:52 +0200)
ChangeLog
Makefile.util.def
tests/test_unset.in [new file with mode: 0644]

index 0c3856218364e6f9da217cb6b6d50de0c1a795dd..8de6c8262ed0679d60aec97ff4b2036baf48b126 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-26  BVK Chaitanya  <bvk.groups@gmail.com>
+
+       * tests/test_unset.in: New test.
+
 2013-10-26  BVK Chaitanya  <bvk.groups@gmail.com>
 
        * tests/test_sha512sum.in: New test.
index 15f28a0ec1f7af2216c921ec3148dc0f51d1db0e..193bc4531d69ec04951bf448841fed95805b5261 100644 (file)
@@ -863,6 +863,12 @@ script = {
   common = tests/test_sha512sum.in;
 };
 
+script = {
+  testcase;
+  name = test_unset;
+  common = tests/test_unset.in;
+};
+
 script = {
   testcase;
   name = grub_func_test;
diff --git a/tests/test_unset.in b/tests/test_unset.in
new file mode 100644 (file)
index 0000000..30f1a25
--- /dev/null
@@ -0,0 +1,10 @@
+#! @builddir@/grub-shell-tester
+
+foo=one
+echo $foo
+
+unset foo
+echo $foo
+echo ${foo}
+
+