guix-play/gnu/tests
Clément Lassieur c24b15472b
tests: Honor the return value of 'start-service'.
Since commit dc7b3e5633, '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.
2018-06-13 09:11:45 +02:00
..
admin.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
audio.scm gnu: Add mpd service. 2017-08-13 07:36:32 +01:00
base.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
databases.scm tests: databases: Add a system test for PostgreSQL. 2018-03-10 16:20:55 +00:00
desktop.scm gnu: elogind: Use itself as the cgroup controller. 2017-09-08 00:11:21 +02:00
dict.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
install.scm system: Remove uses of the 'title' field of <file-system>. 2018-05-28 13:24:19 +02:00
mail.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
messaging.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
networking.scm services: Add modem-manager-service-type. 2018-04-30 03:47:16 +02:00
nfs.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
rsync.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
ssh.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
version-control.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00
virtualization.scm tests: Add 'libvirt-service-type' test. 2017-08-23 12:48:11 +01:00
web.scm tests: Honor the return value of 'start-service'. 2018-06-13 09:11:45 +02:00