aboutsummaryrefslogtreecommitdiffstats
path: root/main/augeas/0002-Shellvars-Add-test-for.patch
blob: d55cfcc6dce49ee9888b695be047f620374f98ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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