From: David Lutterkort <[email protected]>

---
 lenses/tests/test_shellvars.aug |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/lenses/tests/test_shellvars.aug b/lenses/tests/test_shellvars.aug
index 21077df..d302c22 100644
--- a/lenses/tests/test_shellvars.aug
+++ b/lenses/tests/test_shellvars.aug
@@ -80,6 +80,17 @@ unset ONBOOT    #   We do not want this var
     { "var" = "ab"
       { "#comment" = "c" } }
 
+  test lns get "var=ab; #c\n" =
+    { "var" = "ab" }
+    { "#comment" = "c" }
+
+  test lns put "var=ab; #c\n" after
+    set "/#comment" "d" =
+    "var=ab; #d\n"
+
+  test lns get "var=ab;\n" =
+    { "var" = "ab" }
+
   test lns get "var='ab#c'\n" =
     { "var" = "'ab#c'" }
 
-- 
1.7.7.6

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to