<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/tests/mail.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-06-19T09:49:33Z</updated>
<entry>
<title>tests: Fix opensmtpd test.</title>
<updated>2019-06-19T09:49:33Z</updated>
<author>
<name>Tobias Geerinckx-Rice</name>
<email>me@tobias.gr</email>
</author>
<published>2019-06-19T09:48:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=bf5929c5303511da338da894ce072c138fe8324f'/>
<id>urn:sha1:bf5929c5303511da338da894ce072c138fe8324f</id>
<content type='text'>
* gnu/tests/mail.scm (run-opensmtpd-test) &lt;"mail arrived"&gt;: Invoke
smtpctl by its full file name.
</content>
</entry>
<entry>
<title>services: Add getmail.</title>
<updated>2019-05-31T19:22:20Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2019-04-04T16:36:49Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=f6b0e1f8ff6a6459d7d39238ced165f4caa988fe'/>
<id>urn:sha1:f6b0e1f8ff6a6459d7d39238ced165f4caa988fe</id>
<content type='text'>
Getmail is a mail retriever written in Python, this commit adds a service-type
to run getmail. I'm looking at this, as it's a convinient way of getting
mailing list messages in to Patchwork.

I initially tried putting this in the (gnu services mail) module, but due to
also trying to use the define-configuration pattern, it conflicted with the
dovecot service.

* gnu/services/getmail.scm: New file.
* gnu/local.mk: Add it.
* gnu/tests/mail.scm (%getmail-os, %test-getmail): New variables.
(run-getmail-test): New procedure.
</content>
</entry>
<entry>
<title>services: dhcp-client: Deprecate 'dhcp-client-service' procedure.</title>
<updated>2018-10-17T23:12:22Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-10-17T22:45:05Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=39d7fdce453b0ca23ecbed72048647debbaa58a6'/>
<id>urn:sha1:39d7fdce453b0ca23ecbed72048647debbaa58a6</id>
<content type='text'>
* gnu/services/networking.scm (dhcp-client-service-type): Add default
value.
* gnu/system/examples/bare-bones.tmpl: Use (service
dhcp-client-service-type) instead of (dhcp-client-service).
* gnu/system/examples/beaglebone-black.tmpl: Likewise.
* gnu/tests/base.scm (%avahi-os): Likewise.
* gnu/tests/databases.scm (%memcached-os): Likewise.
(%mongodb-os): Likewise.
* gnu/tests/dict.scm (%dicod-os): Likewise.
* gnu/tests/mail.scm (%opensmtpd-os): Likewise.
(%exim-os): Likewise.
(%dovecot-os): Likewise.
* gnu/tests/messaging.scm (run-xmpp-test): Likewise.
(run-bitlbee-test): Likewise.
* gnu/tests/monitoring.scm (%prometheus-node-exporter-os): Likewise.
* gnu/tests/networking.scm (%inetd-os): Likewise.
(run-iptables-test): Likewise.
* gnu/tests/nfs.scm (%base-os): Likewise.
* gnu/tests/rsync.scm (%rsync-os): Likewise.
* gnu/tests/ssh.scm (run-ssh-test): Likewise.
* gnu/tests/version-control.scm (%cgit-os): Likewise.
(%git-http-os): Likewise.
(%gitolite-os): Likewise.
* gnu/tests/virtualization.scm (%libvirt-os): Likewise.
* gnu/tests/web.scm (%httpd-os): Likewise.
(%nginx-os): Likewise.
(%varnish-os): Likewise.
(%php-fpm-os): Likewise.
(%hpcguix-web-os): Likewise.
(%tailon-os): Likewise.
* tests/guix-system.sh: Likewise.
* doc/guix.texi (Networking Services): Document
'dhcp-client-service-type' and remove 'dhcp-client-service'.
</content>
</entry>
<entry>
<title>tests: Honor the return value of 'start-service'.</title>
<updated>2018-06-13T07:11:45Z</updated>
<author>
<name>Clément Lassieur</name>
<email>clement@lassieur.org</email>
</author>
<published>2018-06-11T19:07:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=c24b15472baaa7ec67d48cbf296bbe5ab727b78f'/>
<id>urn:sha1:c24b15472baaa7ec67d48cbf296bbe5ab727b78f</id>
<content type='text'>
Since commit dc7b3e56337ee9d8dcd8fe7d5cab71ef536d024f, 'start-service' returns
the Shepherd's representation of the service as a sexp, and '#f' if the
service fails to start.  Also, it doesn't throw an exception when the service
fails to start, so relying on an exception instead of relying on its return
value is a false positive.

* gnu/tests/base.scm (run-nss-mdns-test): Split tests so to check the return
value of 'start-service'.
(run-mcron-test, run-nss-mdns-test): Use 'test-assert' with the return value
of 'start-service'.
* gnu/tests/admin.scm (run-tailon-test): Idem.
* gnu/tests/dict.scm (run-dicod-test): Idem.
* gnu/tests/mail.scm (run-opensmtpd-test, run-exim-test, run-dovecot-test):
Idem.
* gnu/tests/messaging.scm (run-xmpp-test, run-bitlbee-test): Idem.
* gnu/tests/nfs.scm (run-nfs-test): Idem.
* gnu/tests/rsync.scm (run-rsync-test): Idem.
* gnu/tests/ssh.scm (run-ssh-test): Idem.
* gnu/tests/version-control.scm (run-cgit-test, run-git-http-test): Idem.
* gnu/tests/web.scm (run-php-fpm-test): Idem.
</content>
</entry>
<entry>
<title>tests: mail: Add test for dovecot.</title>
<updated>2018-03-09T14:24:45Z</updated>
<author>
<name>Oleg Pykhalov</name>
<email>go.wigust@gmail.com</email>
</author>
<published>2018-03-07T21:27:16Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a9079b488037371f90514b82961dc075ea0b3985'/>
<id>urn:sha1:a9079b488037371f90514b82961dc075ea0b3985</id>
<content type='text'>
* gnu/tests/mail.scm (%dovecot-os, %test-dovecot): New variables.
(run-dovecot-test): New procedure.
</content>
</entry>
<entry>
<title>tests: Use 'virtual-machine' records instead of monadic procedures.</title>
<updated>2017-07-20T09:57:13Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-07-18T08:41:51Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=8b113790fa3bfd2300c737901ba161f079fedbdf'/>
<id>urn:sha1:8b113790fa3bfd2300c737901ba161f079fedbdf</id>
<content type='text'>
* gnu/tests/base.scm (%test-basic-os): Use 'let*' instead of 'mlet*' and
'virtual-machine' instead of 'system-qemu-image/shared-store-script'.
(run-mcron-test): Likewise.
(run-nss-mdns-test): Likewise.
* gnu/tests/dict.scm (run-dicod-test): Likewise.
* gnu/tests/mail.scm (run-opensmtpd-test): Likewise.
(run-exim-test): Likewise.
* gnu/tests/messaging.scm (run-xmpp-test): Likewise.
* gnu/tests/networking.scm (run-inetd-test): Likewise.
* gnu/tests/nfs.scm (run-nfs-test): Likewise.
* gnu/tests/ssh.scm (run-ssh-test): Likewise.
* gnu/tests/web.scm (run-nginx-test): Likewise.
</content>
</entry>
<entry>
<title>tests: mail: Add test for exim</title>
<updated>2017-04-19T21:43:50Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2017-03-30T04:13:56Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=950026ac7f17b3b4d5420cde9709c24e9af76dcb'/>
<id>urn:sha1:950026ac7f17b3b4d5420cde9709c24e9af76dcb</id>
<content type='text'>
* gnu/tests/mail.scm (%exim-os, %test-exim): New variables.
(run-exim-test): New procedure.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
<entry>
<title>tests: Introduce 'simple-operating-system' and use it.</title>
<updated>2017-03-31T22:45:18Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-03-31T20:13:50Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=892d9089a88abaa2ef1127f16308d03f4f08a4ce'/>
<id>urn:sha1:892d9089a88abaa2ef1127f16308d03f4f08a4ce</id>
<content type='text'>
* gnu/tests.scm (%simple-os): New macro.
(simple-operating-system): New macro.
* gnu/tests/base.scm (%simple-os): Define using 'simple-operating-system'.
(%mcron-os): Use 'simple-operating-system'.
* gnu/tests/mail.scm (%opensmtpd-os): Likewise.
* gnu/tests/messaging.scm (%base-os, os-with-service): Remove.
(run-xmpp-test): Use 'simple-operating-system'.
* gnu/tests/networking.scm (%inetd-os): Likewise.
* gnu/tests/ssh.scm (%base-os, os-with-service): Remove.
(run-ssh-test): Use 'simple-operating-system'.
* gnu/tests/web.scm (%nginx-os): Likewise.
</content>
</entry>
<entry>
<title>tests: Add 'opensmtpd-service-type' test.</title>
<updated>2016-11-27T02:15:43Z</updated>
<author>
<name>宋文武</name>
<email>iyzsong@member.fsf.org</email>
</author>
<published>2016-11-26T05:51:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=a82f0b36177848eda340d880ae0802c3e26c4ea8'/>
<id>urn:sha1:a82f0b36177848eda340d880ae0802c3e26c4ea8</id>
<content type='text'>
* gnu/tests/mail.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
</content>
</entry>
</feed>
