~ruther/guix-local

ref: de585a7e644fdcb6ea05abde23f900d4242fcb48 guix-local/gnu/tests d---------
2b436389 — Ludovic Courtès 9 years ago
tests: ssh: Add Dropbear test.

* gnu/tests/ssh.scm (run-ssh-test): Try authenticating with
'userauth-none!' when 'userauth-password!' fails.
(%test-dropbear): New variable.
0e598850 — Ludovic Courtès 9 years ago
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.
d5b0c902 — Ludovic Courtès 9 years ago
tests: Add 'openssh-service-type' test.

* gnu/tests/ssh.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
ec2e2f6c — David Craven 9 years ago
services: syslog: Use syslog-configuration.

* gnu/services/base.scm (<syslog-configuration>): New variable.
  (syslog-service-type): Use <syslog-configuration>.
  (syslog-service): Use <syslog-configuration>.
* gnu/tests/base.scm (%avahi-os): Use <syslog-configuration>.
* doc/guix.texi (syslog-configuration-type): Add @deftp.
  (syslog-service): Update @deffn.
183605c8 — Ludovic Courtès 9 years ago
services: herd: Provide <live-service> objects.

* gnu/services/herd.scm (<live-service>): New record type.
(current-services): Change to return a single value: #f or a list of
<live-service>.
* guix/scripts/system.scm (call-with-service-upgrade-info): Adjust
accordingly.
* gnu/tests/base.scm (run-basic-test)["shepherd services"]: Adjust
accordingly.
334bda9a — Ludovic Courtès 9 years ago
tests: Make sure /var/guix/gcroots/profiles is a valid symlink.

Reported by csanchezdll@gmail.com (Carlos Sánchez de La Lama)
at <https://lists.gnu.org/archive/html/guix-devel/2016-08/msg01641.html>.

* gnu/build/install.scm (directives): Add /var/guix/gcroots/profiles
symlink.
* gnu/tests/base.scm (run-basic-test)["/var/guix/gcroots/profiles is a
valid symlink"]: New test.
40d28609 — Ludovic Courtès 9 years ago
tests: Make sure /run/current-system is a GC root.

* gnu/tests/base.scm (run-basic-test)["/run/current-system is a GC
root"]: New test.
ab3a6450 — Ludovic Courtès 9 years ago
system: Define 'GUIX_LOCPATH' to work around 'glibc' package defect.

Our 'glibc' package currently ignores /run/current-system/locale,
although the intent is to look for locales in that directory.

* gnu/packages/base.scm (glibc/linux): Add comment about
/run/current-system/locale being ignored.
* gnu/system.scm (operating-system-environment-variables): Add
'GUIX_LOCPATH'.
* gnu/tests/base.scm (run-basic-test): Add "locale" test.
716753cb — Ludovic Courtès 9 years ago
tests: base: Correct invalid merge.

Fixes a regression introduced by merge commit
7575655212ecfbcd1f04e429c8a7a41f8720d027.

* gnu/tests/base.scm (run-basic-test)[test]: Fix list of 'use-modules'
and 'test-begin' call.
75756552 — Ludovic Courtès 9 years ago
Merge branch 'master' into core-updates
b1bf155f — Ludovic Courtès 9 years ago
tests: install: Generalize 'run-install'.

* gnu/tests/install.scm (%simple-installation-script): New variable.
Contains installation script formerly in 'run-install'.
(run-install): Add 'target-os', 'target-os-source', and #:script
parameters.  Honor them.
(qemu-command/writable-image): New procedure.
(%test-installed-os): Use it.
4ee96a79 — Ludovic Courtès 9 years ago
gnu: Switch to 'with-imported-modules'.

* gnu/services.scm (directory-union): Use 'with-imported-modules'
instead of the '#:modules' argument of 'computed-file'.
* gnu/services/base.scm (udev-rules-union): Likewise.
* gnu/services/dbus.scm (system-service-directory): Likewise.
* gnu/services/desktop.scm (wrapped-dbus-service):
(polkit-directory): Likewise.
* gnu/services/networking.scm (tor-configuration->torrc): Likewise.
* gnu/services/xorg.scm (xorg-configuration-directory): Likewise.
* gnu/system/install.scm (self-contained-tarball): Likewise.
* gnu/system/linux-container.scm (container-script): Likewise.
* gnu/system/linux-initrd.scm (expression->initrd): Likewise, and
remove #:modules parameter.
(flat-linux-module-directory): Use 'with-imported-modules'.
(base-initrd): Likewise.
* gnu/system/locale.scm (locale-directory): Likewise.
* gnu/system/shadow.scm (default-skeletons): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
* gnu/tests/base.scm (run-basic-test): Likewise.
* gnu/tests/install.scm (run-install): Likewise.
* doc/guix.texi (Initial RAM Disk): Update 'expression->initrd'
documentation.
a4bbf41b — Ludovic Courtès 9 years ago
tests: install: Adjust to new 'marionette-service-type' interface.

This is a followup to 037f9e07cd03d6894a6b5fc9a252c34d3b163962.
Reported by Mark H Weaver.

* gnu/tests/install.scm (%minimal-os): Pass a <marionette-configuration>
object as the value for the MARIONETTE-SERVICE-TYPE.
d2fa61bc — Ludovic Courtès 9 years ago
tests: Add Avahi and NSS-mDNS test.

* gnu/tests/base.scm (%avahi-os): New variable.
(run-nss-mdns-test): New procedure.
(%test-nss-mdns): New variable.
858d372c — Ludovic Courtès 9 years ago
tests: base: Add host name resolution tests.

* gnu/tests/base.scm (run-basic-test)["host name resolution",
"host not found"]: New tests.
01497dfe — Ludovic Courtès 9 years ago
Merge branch 'master' into core-updates
125af57e — Ludovic Courtès 9 years ago
tests: basic: Don't hard-code the expected architecture name.

* gnu/tests/base.scm (run-basic-test)["uname"]: Don't hard-code the
architecture.
f6d5456b — Ludovic Courtès 9 years ago
tests: Installation test no longer requires KVM.

* gnu/tests/install.scm (%test-installed-os): Use '-enable-kvm' only
when /dev/kvm exists.
c311089b — Ludovic Courtès 9 years ago
services: Add 'mcron-service'.

* gnu/services/mcron.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/tests/base.scm (%mcron-os, %test-mcron): New variables.
(run-mcron-test): New procedure.
* doc/guix.texi (Scheduled Job Execution): New node.
98b65b5f — Ludovic Courtès 9 years ago
tests: Add a mechanism to describe and discover system tests.

* gnu/tests.scm (<system-test>): New record type.
(write-system-test, test-modules, fold-system-tests)
(all-system-tests): New procedures.
* gnu/tests/base.scm (%test-basic-os): Turn into a <system-test>.
* gnu/tests/install.scm (%test-installed-os): Likewise.
* build-aux/run-system-tests.scm (%system-tests): Remove.
(run-system-tests): Use 'all-system-tests'.
Next