~ruther/guix-local

ref: be99170ddbb3c7bc46b8e3cc5184e2e51bdb3785 guix-local/gnu/tests d---------
fd3782d1 — Marius Bakke 8 years ago
Merge branch 'version-0.13.0'
9d0c24d1 — Ludovic Courtès 8 years ago
tests: ssh: Use 'guile2.0-ssh'.

Fixes a regression introduced in 4d8806c3d662c74e6d48d0f0d6ce423fce9a3a08.

* gnu/tests/ssh.scm (run-ssh-test): Use GUILE2.0-SSH instead of GUILE-SSH.
51fe9cd3 — Ludovic Courtès 8 years ago
services: user-homes: Do not create home directories marked as no-create.

Fixes a bug whereby GuixSD would create the /nonexistent directory, from
user 'nobody', even though it has 'create-home-directory?' set to #f.

* gnu/build/activation.scm (activate-users+groups): Add comment for
\#:create-home?.
(activate-user-home)[ensure-user-home]: Skip when CREATE-HOME? is #f or
SYSTEM? is #t.
* gnu/tests/base.scm (run-basic-test)["no extra home directories"]: New
tests.
41f76ae0 — Ludovic Courtès 8 years ago
services: user-homes: Do not create home directories marked as no-create.

Fixes a bug whereby GuixSD would create the /nonexistent directory, from
user 'nobody', even though it has 'create-home-directory?' set to #f.

* gnu/build/activation.scm (activate-users+groups): Add comment for
\#:create-home?.
(activate-user-home)[ensure-user-home]: Skip when CREATE-HOME? is #f or
SYSTEM? is #t.
* gnu/tests/base.scm (run-basic-test)["no extra home directories"]: New
tests.
b09a8da4 — Mathieu Othacehe 8 years ago
bootloader: Add extlinux support.

* gnu/bootloader.scm: New file.
* gnu/bootloader/extlinux.scm: New file.
* gnu/bootloader/grub.scm: New file.
* gnu/local.mk: Build new files.
* gnu/system.scm: Adapt to new bootloader api.
* gnu/scripts/system.scm: Adapt to new bootloader api.
* gnu.scm: Remove (gnu system grub) and replace by (gnu bootloader) and (gnu
bootloader grub) modules.
* gnu/system/grub.scm: Moved content to gnu/bootloader/grub.scm.
* gnu/system/vm: Replace (gnu system grub) module by (gnu bootloader).
* gnu/tests.scm: Ditto.
* gnu/tests/nfs.scm: Ditto.
e2f9832f — Ludovic Courtès 8 years ago
tests: "basic" test loads (guix …) modules from the right place.

This is a followup to 7561881f2a5d2dc463c24713745eca03e67044bf.

* gnu/tests/base.scm (run-basic-test)["/run/current-system is a GC
root"]: Remove 'set!' statements, add 'add-to-load-path' statement for
GUIX.
d5094c81 — Ludovic Courtès 8 years ago
tests: Strengthen GC root test.

* gnu/tests/base.scm (run-basic-test)["/run/current-system is a GC
root"]: Check for a specific return value, 'success!.
1524851f — Leo Famulari 9 years ago
Merge branch 'master' into staging
950026ac — Carlo Zancanaro 9 years ago
tests: mail: Add test for exim

* gnu/tests/mail.scm (%exim-os, %test-exim): New variables.
(run-exim-test): New procedure.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
8c4b4b65 — Marius Bakke 9 years ago
Merge branch 'master' into staging
cbe0af11 — Ludovic Courtès 9 years ago
tests: dicod: Bail out if we cannot connect within 20 seconds.

* gnu/tests/dict.scm (run-dicod-test)["connect inside"]: Bail out after
20 seconds of failure to connect.
efe7d19a — Ludovic Courtès 9 years ago
services: 'service-parameters' becomes 'service-value'.

* gnu/services.scm (<service>)[parameters]: Rename to...
[value]: ... this.
Change calls to 'service-parameters' to 'service-value'.
* gnu/system.scm, gnu/tests/base.scm,
guix/scripts/system.scm, tests/services.scm: Likewise.
* doc/guix.texi (Service Reference): Adjust accordingly.
99828feb — Danny Milosavljevic 9 years ago
tests: Remove unused import (gnu system grub).

* gnu/tests/web.scm: Remove unused import.
985a8599 — Ludovic Courtès 9 years ago
tests: Add GNU dicod test.

* gnu/tests/dict.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
892d9089 — Ludovic Courtès 9 years ago
tests: Introduce 'simple-operating-system' and use it.

* 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.
c17383f4 — Leo Famulari 9 years ago
Merge branch 'master' into core-updates
9260b9d1 — Thomas Danckaert 9 years ago
services: Add inetd-service-type.

* gnu/services/networking.scm (<inetd-configuration>, <inetd-entry>): New
record types.
(inetd-config-file, inetd-shepherd-service): New procedures.
(inetd-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.
* gnu/tests/networking.scm: New file.
* gnu/local.mk: Add it.
378de69c — Efraim Flashner 9 years ago
Merge remote-tracking branch 'origin/master' into core-updates
36f666c6 — Clément Lassieur 9 years ago
tests: ssh: Add a test for SFTP.

* gnu/tests/ssh.scm (run-ssh-test): Introduce "SFTP file writing and reading".
Make 'sftp?' a keyword parameter.
(%test-openssh): Pass #:sftp? #t to 'run-ssh-test'.
cfaf4d11 — Clément Lassieur 9 years ago
tests: ssh: Abstract session connection and authentication.

* gnu/tests/ssh.scm (run-ssh-test): Introduce make-session-for-test,
call-with-connected-session and call-with-connected-session/auth.
(run-ssh-test)["connect"]: Rename to "shell command".  Abstract its session
connection and authentication work into the above three functions.
Next