Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / tests / test_postfix_main.aug
1 module Test_postfix_main =
2
3 let conf = "# main.cf
4 myorigin = /etc/mailname
5
6 smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
7 mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
8 relayhost = 
9 import_environment = 
10                  MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ LANG=C \n  KRB5CCNAME=FILE:${queue_directory}/kerberos/krb5_ccache\n"
11
12 test Postfix_Main.lns get conf =
13    { "#comment"  = "main.cf" }
14    { "myorigin"  = "/etc/mailname" }
15    {}
16    { "smtpd_banner" = "$myhostname ESMTP $mail_name (Ubuntu)" }
17    { "mynetworks" = "127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128" }
18    { "relayhost"  }
19    { "import_environment" = "MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ LANG=C \n  KRB5CCNAME=FILE:${queue_directory}/kerberos/krb5_ccache" }
20
21 test Postfix_main.lns get "debugger_command =
22 \t PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
23 \t ddd $daemon_directory/$process_name $process_id & sleep 5\n"
24      =
25   { "debugger_command" = "PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
26          ddd $daemon_directory/$process_name $process_id & sleep 5" }