guix/patches/gnu/tests/admin.scm, branch series-3888 Guix http://git.cbaines.net/guix/patches/atom?h=series-3888 2018-09-10T10:12:50Z services: tailon: Move to (gnu services web). 2018-09-10T10:12:50Z Ludovic Courtès ludo@gnu.org 2018-09-07T20:29:40Z urn:sha1:19de8273eefceac1ba6ddc8d7e374a13f57c678b This allows (gnu services admin) to remain deeper in the module graph and to be used by (gnu services web). * gnu/services/admin.scm (<tailon-configuration-file>) (tailon-configuration-files-string) (tailon-configuration-file-compiler, <tailon-configuration>) (tailon-shepherd-service, %tailon-accounts) (tailon-service-type): Move to... * gnu/services/web.scm: ... here. * gnu/tests/admin.scm: Remove. Move test to... * gnu/tests/web.scm (%tailon-os) (run-tailon-test, %test-tailon): ... here. tests: Honor the return value of 'start-service'. 2018-06-13T07:11:45Z Clément Lassieur clement@lassieur.org 2018-06-11T19:07:24Z urn:sha1:c24b15472baaa7ec67d48cbf296bbe5ab727b78f 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. gnu: services: admin: Add tailon. 2017-07-29T11:45:03Z Christopher Baines mail@cbaines.net 2017-06-24T13:19:46Z urn:sha1:730ed6ec8b69a0f908a8aadbbe0555dd45de227c * gnu/services/admin.scm (<tailon-configuration>, <tailon-configuration-file>): New record types. (tailon-configuration-files-string, tailon-shepherd-service): New procedures. (%tailon-accounts, tailon-service-type: New variables. * doc/guix.texi (Monitoring Services: Document the Tailon service. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/tests/admin.scm. * gnu/tests/admin.scm: New file.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>guix/patches/gnu/tests/admin.scm, branch series-3888</title>
<subtitle>Guix</subtitle>
<id>http://git.cbaines.net/guix/patches/atom?h=series-3888</id>
<link rel="self" href="http://git.cbaines.net/guix/patches/atom?h=series-3888"/>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/"/>
<updated>2018-09-10T10:12:50Z</updated>
<entry>
<title>services: tailon: Move to (gnu services web).</title>
<updated>2018-09-10T10:12:50Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-09-07T20:29:40Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=19de8273eefceac1ba6ddc8d7e374a13f57c678b"/>
<id>urn:sha1:19de8273eefceac1ba6ddc8d7e374a13f57c678b</id>
<content type="text"> This allows (gnu services admin) to remain deeper in the module graph and to be used by (gnu services web). * gnu/services/admin.scm (<tailon-configuration-file>) (tailon-configuration-files-string) (tailon-configuration-file-compiler, <tailon-configuration>) (tailon-shepherd-service, %tailon-accounts) (tailon-service-type): Move to... * gnu/services/web.scm: ... here. * gnu/tests/admin.scm: Remove. Move test to... * gnu/tests/web.scm (%tailon-os) (run-tailon-test, %test-tailon): ... here. </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="http://git.cbaines.net/guix/patches/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>gnu: services: admin: Add tailon.</title>
<updated>2017-07-29T11:45:03Z</updated>
<author>
<name>Christopher Baines</name>
<email>mail@cbaines.net</email>
</author>
<published>2017-06-24T13:19:46Z</published>
<link rel="alternate" type="text/html" href="http://git.cbaines.net/guix/patches/commit/?id=730ed6ec8b69a0f908a8aadbbe0555dd45de227c"/>
<id>urn:sha1:730ed6ec8b69a0f908a8aadbbe0555dd45de227c</id>
<content type="text"> * gnu/services/admin.scm (<tailon-configuration>, <tailon-configuration-file>): New record types. (tailon-configuration-files-string, tailon-shepherd-service): New procedures. (%tailon-accounts, tailon-service-type: New variables. * doc/guix.texi (Monitoring Services: Document the Tailon service. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/tests/admin.scm. * gnu/tests/admin.scm: New file. </content>
</entry>
</feed>