# HG changeset patch
# User Raphael Pinson <[EMAIL PROTECTED]>
# Date 1218556108 -7200
# Node ID b8b1a2e3bb253bbeb9128b1aa058e7f35f197ef1
# Parent  4aba95fd1ecce6a12e81eea290c28953ec10a065
Adapt test_hosts.aug to changes in hosts.aug

diff -r 4aba95fd1ecc -r b8b1a2e3bb25 lenses/tests/test_hosts.aug
--- a/lenses/tests/test_hosts.aug       Tue Aug 12 17:31:21 2008 +0200
+++ b/lenses/tests/test_hosts.aug       Tue Aug 12 17:48:28 2008 +0200
@@ -3,8 +3,9 @@ module Test_hosts =
 module Test_hosts =
 
   let two_entries = "127.0.0.1 foo foo.example.com
-# comment
-192.168.0.1 pigiron.example.com pigiron pigiron.example
+  # comment
+  #
+       192.168.0.1 pigiron.example.com pigiron pigiron.example  
 "
 
   test Hosts.record get "127.0.0.1 foo\n" =
@@ -16,6 +17,7 @@ 192.168.0.1 pigiron.example.com pigiron 
           { "canonical" = "foo" }
           { "alias" = "foo.example.com" }
     }
+    { "comment" = "comment" }
     { }
     { "2" { "ipaddr" = "192.168.0.1" }
           { "canonical" = "pigiron.example.com" }
@@ -32,7 +34,8 @@ 192.168.0.1 pigiron.example.com pigiron 
     rm "2/alias[2]"
   = "127.0.0.1 foo
 # comment
-192.168.0.1 pigiron.example.com pigiron piggy
+  #
+192.168.0.1 pigiron.example.com pigiron piggy  
 "
 
   (* Deleting the 'canonical' node violates the schema; each host entry *)

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

Reply via email to