# HG changeset patch
# User Raphael Pinson <[EMAIL PROTECTED]>
# Date 1218534992 -7200
# Node ID 91ac346c24148c1dfa5bd78aa432783877059cdc
# Parent  6e219c839734abe4d9aea1462846b62be10e987e
sep_cont is not mandatory after runas_spec.
Remove a space after a runas_spec in the test.

diff -r 6e219c839734 -r 91ac346c2414 lenses/sudoers.aug
--- a/lenses/sudoers.aug        Tue Aug 12 11:52:17 2008 +0200
+++ b/lenses/sudoers.aug        Tue Aug 12 11:56:32 2008 +0200
@@ -144,7 +144,7 @@ module Sudoers =
     
(***********************************************************************************
     *  Runas_Spec ::= '(' Runas_List ')'
     
***********************************************************************************)
-    let runas_spec = Util.del_str "(" . alias_list "runas_user" sto_to_com . 
Util.del_str ")" . sep_cont
+    let runas_spec = Util.del_str "(" . alias_list "runas_user" sto_to_com . 
Util.del_str ")" . sep_cont?
 
     
(***********************************************************************************
     * Tag_Spec ::= ('NOPASSWD:' | 'PASSWD:' | 'NOEXEC:' | 'EXEC:' |
diff -r 6e219c839734 -r 91ac346c2414 lenses/tests/test_sudoers.aug
--- a/lenses/tests/test_sudoers.aug     Tue Aug 12 11:52:17 2008 +0200
+++ b/lenses/tests/test_sudoers.aug     Tue Aug 12 11:56:32 2008 +0200
@@ -29,7 +29,7 @@ root    ALL=(ALL) ALL
 %admin  ALL=(ALL) ALL, NOPASSWD  :     NOSETENV: \
    DEBIAN_TOOLS
 %pbuilder       LOCALNET = NOPASSWD: PBUILDER
-www-data ALL=(rpinson) NOEXEC: ICAL \
+www-data ALL=(rpinson)NOEXEC: ICAL \
         : \
         localhost = NOPASSWD:  /usr/bin/test
 "

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

Reply via email to