aboutsummaryrefslogtreecommitdiffstats
path: root/main/augeas/0002-Shellvars-Add-test-for.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/augeas/0002-Shellvars-Add-test-for.patch')
-rw-r--r--main/augeas/0002-Shellvars-Add-test-for.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/augeas/0002-Shellvars-Add-test-for.patch b/main/augeas/0002-Shellvars-Add-test-for.patch
new file mode 100644
index 0000000000..d55cfcc6dc
--- /dev/null
+++ b/main/augeas/0002-Shellvars-Add-test-for.patch
@@ -0,0 +1,27 @@
+From e038a40dc8c7c4e2121ce40fc493c26f8cfcc46f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= <raphael.pinson@camptocamp.com>
+Date: Mon, 13 Jul 2015 10:04:38 +0200
+Subject: [PATCH 02/15] Shellvars: Add test for [[]]
+
+---
+ lenses/tests/test_shellvars.aug | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/lenses/tests/test_shellvars.aug b/lenses/tests/test_shellvars.aug
+index 778a8d2..a2d4f28 100644
+--- a/lenses/tests/test_shellvars.aug
++++ b/lenses/tests/test_shellvars.aug
+@@ -541,6 +541,10 @@ fi\n" =
+ { "@condition" = "-f $FILENAME"
+ { "type" = "[" } }
+
++ test Shellvars.lns get "[[ -f $FILENAME ]]\n" =
++ { "@condition" = "-f $FILENAME"
++ { "type" = "[[" } }
++
+ (* Local Variables: *)
+ (* mode: caml *)
+ (* End: *)
+--
+2.1.0
+