tests: ssh: Generalize.
authorLudovic Courtès <ludo@gnu.org>
Mon, 3 Oct 2016 13:14:46 +0000 (15:14 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 3 Oct 2016 13:18:28 +0000 (15:18 +0200)
commit0e59885060df92bcfb1ee765dfbfdcf26dd67e08
tree7f5902cc6e6b2c006b64af6ae28bb6b11f83435d
parent26cfc415be663d4c1c3ec6ce40afe7867a346a04
tests: ssh: Generalize.

* gnu/tests/ssh.scm (%openssh-os): Rename to...
(%base-os): ... this.
[services]: Remove 'openssh-service-type' instance.
(os-with-service): New procedure.
(run-openssh-test): Rename to...
(run-ssh-test): ... this.  Add 'ssh-service' and 'pid-file' parameters.
Use 'os-with-service' to add SSH-SERVICE to %BASE-OS.  Honor PID-FILE.
(%test-openssh): Adjust accordingly.
gnu/tests/ssh.scm