Changeset 814
- Timestamp:
- 09/09/08 10:08:20 (3 months ago)
- Location:
- ares/trunk
- Files:
-
- 20 modified
- 1 moved
-
Makefile (modified) (1 diff)
-
tests/Test.py (moved) (moved from ares/trunk/tests/TestAres.py) (1 diff)
-
tests/fakeroot/etc/amavis/conf.d/15-content_filter_mode (modified) (2 diffs)
-
tests/fakeroot/etc/amavis/conf.d/20-debian_defaults (modified) (1 diff)
-
tests/fakeroot/etc/apt/sources.list (modified) (1 diff)
-
tests/fakeroot/etc/default/fetchmail (modified) (1 diff)
-
tests/fakeroot/etc/default/monit (modified) (1 diff)
-
tests/fakeroot/etc/default/spamassassin (modified) (2 diffs)
-
tests/fakeroot/etc/dnsmasq.conf (modified) (1 diff)
-
tests/fakeroot/etc/exports (modified) (1 diff)
-
tests/fakeroot/etc/havp/havp.config (modified) (1 diff)
-
tests/fakeroot/etc/hosts (modified) (1 diff)
-
tests/fakeroot/etc/ldap.conf (modified) (1 diff)
-
tests/fakeroot/etc/ldap/slapd.conf (modified) (1 diff)
-
tests/fakeroot/etc/monit/monitrc (modified) (1 diff)
-
tests/fakeroot/etc/php5/apache2/php.ini (modified) (1 diff)
-
tests/fakeroot/etc/postfix/main.cf (modified) (1 diff)
-
tests/fakeroot/etc/samba/smb.conf (modified) (4 diffs)
-
tests/fakeroot/etc/squid/squid.conf (modified) (1 diff)
-
tests/fakeroot/etc/squirrelmail/config.php (modified) (1 diff)
-
tests/fakeroot/etc/ssh/sshd_config (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ares/trunk/Makefile
r813 r814 29 29 -rm -f tests/fakeroot/etc/apache2/mods-enabled/ssl.load 30 30 -rm -f tests/fakeroot/etc/apache2/mods-enabled/ssl.conf 31 -rm -f tests/fakeroot/etc/udev/rules.d/80-backup.rules 32 33 test: 34 cd tests && python ./Test.py -
ares/trunk/tests/Test.py
r813 r814 11 11 from ares import Ares 12 12 13 class Test Ares(unittest.TestCase):13 class Test(unittest.TestCase): 14 14 15 def test_ ldap(self):15 def test_all(self): 16 16 ares = Ares(test=True) 17 #ares.ldap.setup()18 #ares.hostname.setup()19 #ares.hosts.setup()20 #ares.dnsmasq.setup()21 #ares.monit.setup()22 #ares.squid.setup()23 #ares.amavis.setup()24 #ares.spamassassin.setup()25 #ares.postfix.setup()26 #ares.ssl.setup()27 #ares.squirrel.setup()28 #ares.fetchmail.setup()29 #ares.samba.setup()17 ares.ldap.setup() 18 ares.hostname.setup() 19 ares.hosts.setup() 20 ares.dnsmasq.setup() 21 ares.monit.setup() 22 ares.squid.setup() 23 ares.amavis.setup() 24 ares.spamassassin.setup() 25 ares.postfix.setup() 26 ares.ssl.setup() 27 ares.squirrel.setup() 28 ares.fetchmail.setup() 29 ares.samba.setup() 30 30 # ares.webmin.setup() 31 # ares.nfs.setup() 32 # ares.havp.setup() 33 # ares.apt.setup() 34 # ares.sshd.setup() 35 # ares.nfs.setup() 36 # ares.aug.save() 37 # ares.postconfig.setup() 31 ares.nfs.setup() 32 ares.havp.setup() 33 ares.apt.setup() 34 ares.sshd.setup() 35 ares.nfs.setup() 38 36 ares.backup.setup() 37 ares.aug.save() 38 ares.postconfig.setup() 39 39 40 40 if __name__ == '__main__': -
ares/trunk/tests/fakeroot/etc/amavis/conf.d/15-content_filter_mode
r786 r814 9 9 # 10 10 11 #@bypass_virus_checks_maps = (12 #\%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re);11 @bypass_virus_checks_maps = ( 12 \%bypass_virus_checks, \@bypass_virus_checks_acl, \$bypass_virus_checks_re); 13 13 14 14 … … 18 18 # 19 19 20 #@bypass_spam_checks_maps = (21 #\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);20 @bypass_spam_checks_maps = ( 21 \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re); 22 22 23 23 1; # ensure a defined return -
ares/trunk/tests/fakeroot/etc/amavis/conf.d/20-debian_defaults
r786 r814 67 67 68 68 $final_virus_destiny = D_DISCARD; # (data not lost, see virus quarantine) 69 $final_banned_destiny = D_ BOUNCE; # D_REJECT when front-end MTA70 $final_spam_destiny = D_ BOUNCE;69 $final_banned_destiny = D_DISCARD; # D_REJECT when front-end MTA 70 $final_spam_destiny = D_DISCARD; 71 71 $final_bad_header_destiny = D_PASS; # False-positive prone (for spam) 72 72 -
ares/trunk/tests/fakeroot/etc/apt/sources.list
r800 r814 2 2 # deb cdrom:[foo (1)]/ hardy main 3 3 4 deb cdrom:[foo (1)]/hardy main4 deb http://apt.64studio.com/ares/stable hardy main -
ares/trunk/tests/fakeroot/etc/default/fetchmail
r794 r814 9 9 10 10 # Declare here if we want to start fetchmail. 'yes' or 'no' 11 START_DAEMON=no 11 START_DAEMON=yes 12 OPTIONS="-d 30" -
ares/trunk/tests/fakeroot/etc/default/monit
r776 r814 5 5 6 6 # You must set this variable to for monit to start 7 startup= 07 startup=1 8 8 9 9 # To change the intervals which monit should run uncomment 10 10 # and change this variable. 11 11 # CHECK_INTERVALS=180 12 CHECK_INTERVALS=30 -
ares/trunk/tests/fakeroot/etc/default/spamassassin
r788 r814 6 6 7 7 # Change to one to enable spamd 8 ENABLED= 08 ENABLED=1 9 9 10 10 # Options … … 29 29 # Set to anything but 0 to enable the cron job to automatically update 30 30 # spamassassin's rules on a nightly basis 31 CRON= 031 CRON=1 -
ares/trunk/tests/fakeroot/etc/dnsmasq.conf
r770 r814 469 469 # Include a another lot of configuration options. 470 470 #conf-file=/etc/dnsmasq.more.conf 471 #conf-dir=/etc/dnsmasq.d471 conf-dir=/etc/dnsmasq.d -
ares/trunk/tests/fakeroot/etc/exports
r796 r814 9 9 # /srv/nfs4/homes gss/krb5i(rw,sync) 10 10 # 11 /srv/nfs *(rw,sync,no_root_squash) -
ares/trunk/tests/fakeroot/etc/havp/havp.config
r798 r814 521 521 # ARCAVIRSOCKET /var/run/arcavird.socket 522 522 523 PARENTPROXY localhost 524 PARENTPORT 3128 -
ares/trunk/tests/fakeroot/etc/hosts
r772 r814 9 9 ff02::2 ip6-allrouters 10 10 ff02::3 ip6-allhosts 11 192.168.2.1 ares.q1 ares -
ares/trunk/tests/fakeroot/etc/ldap.conf
r806 r814 296 296 #pam_sasl_mech DIGEST-MD5 297 297 nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,daemon,dhcp,games,gdm,gnats,haldaemon,hplip,irc,klog,libuuid,list,lp,mail,man,messagebus,news,polkituser,proxy,pulse,root,sshd,statd,sync,sys,syslog,uucp,www-data 298 bind_policy soft -
ares/trunk/tests/fakeroot/etc/ldap/slapd.conf
r766 r814 16 16 include /etc/ldap/schema/nis.schema 17 17 include /etc/ldap/schema/inetorgperson.schema 18 include fakeroot/etc/ldap/schema/evolutionperson.schema 19 include fakeroot/etc/ldap/schema/samba.schema 18 20 19 21 # Where the pid file is put. The init.d script -
ares/trunk/tests/fakeroot/etc/monit/monitrc
r775 r814 215 215 # 216 216 # 217 set alert root@ares.q1 218 set logfile syslog facility log_daemon 219 set mail-format { from: monit@ares.q1 } 220 include /etc/monit/ares -
ares/trunk/tests/fakeroot/etc/php5/apache2/php.ini
r780 r814 268 268 max_input_time = 60 ; Maximum amount of time each script may spend parsing request data 269 269 ;max_input_nesting_level = 64 ; Maximum input variable nesting level 270 memory_limit = 16M ; Maximum amount of memory a script may consume (16MB)270 memory_limit = 32M ; Maximum amount of memory a script may consume (16MB) 271 271 272 272 -
ares/trunk/tests/fakeroot/etc/postfix/main.cf
r809 r814 39 39 default_transport = error 40 40 relay_transport = error 41 home_mailbox = Maildir/ 42 content_filter = smtp-amavis:[127.0.0.1]:10024 -
ares/trunk/tests/fakeroot/etc/samba/smb.conf
r792 r814 90 90 # in the samba-doc package for details. 91 91 ; security = user 92 security = user 92 93 93 94 # You may wish to use password encryption. See the section on … … 97 98 # If you are using encrypted passwords, Samba will need to know what 98 99 # password database type you are using. 99 passdb backend = tdbsam100 passdb backend = ldapsam:ldap://localhost 100 101 101 102 obey pam restrictions = yes … … 271 272 ; directory mask = 0700 272 273 274 ldap suffix = dc=nodomain 275 ldap user suffix = ou=People 276 ldap group suffix = ou=Group 277 ldap admin dn = cn=admin,dc=nodomain 273 278 [printers] 274 279 comment = All Printers … … 315 320 ; postexec = /bin/umount /cdrom 316 321 322 [data] 323 path = /srv/nfs/share 324 browseable = yes 325 writeable = yes 326 admin users = manager 327 create mask = 0664 328 directory mask = 0775 -
ares/trunk/tests/fakeroot/etc/squid/squid.conf
r767 r814 4528 4528 # sleep_after_fork 0 4529 4529 4530 acl local_network src 192.168.2.0/24 4531 acl SSL_ports port 5050 4532 acl SSL_ports port 5222 4533 acl SSL_ports port 5190 4534 http_access allow SSL_ports -
ares/trunk/tests/fakeroot/etc/squirrelmail/config.php
r784 r814 998 998 * @global string $squirrelmail_default_language 999 999 */ 1000 $squirrelmail_default_language = ' en_US';1000 $squirrelmail_default_language = 'it_IT'; 1001 1001 1002 1002 /** -
ares/trunk/tests/fakeroot/etc/ssh/sshd_config
r802 r814 76 76 77 77 UsePAM yes 78 PasswordAuthentication no
