~ruther/guix-local

ref: b1a8fd2d2cf6bf1b20ba8d26ca6f9a7caef60cbc guix-local/gnu/tests d---------
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.
d15432ca — Efraim Flashner 9 years ago
Merge remote-tracking branch 'origin/master' into core-updates
424b1ae7 — Marius Bakke 9 years ago
Merge branch 'master' into python-tests
533bc514 — Clément Lassieur 9 years ago
tests: Add 'prosody-service-type' test.

* gnu/tests/messaging.scm: New file.
* gnu/services/messaging.scm: New exported procedure.
  (<shepherd-service>)[provision]: Add 'xmpp-daemon'.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
768f0ac9 — Ludovic Courtès 9 years ago
Merge branch 'master' into core-updates
387e1754 — Ludovic Courtès 9 years ago
services: Add 'special-files-service-type'.

* gnu/build/activation.scm (activate-/bin/sh): Remove.
(activate-special-files): New procedure.
* gnu/services.scm (activation-script): Remove call to
'activate-/bin/sh'.
(special-files-service-type): New variable.
(extra-special-file): New procedure.
* gnu/services/base.scm (%base-services): Add SPECIAL-FILES-SERVICE-TYPE
instance.
* gnu/tests/base.scm (run-basic-test)[special-files]: New variables.
["special files"]: New test.
cf98d342 — Ludovic Courtès 9 years ago
activation: Set the right owner for home directories.

This fixes a regression introduced in
ae763b5b0b7d5e7316a3d0efe991fe8ab2261031 whereby home directories and
skeletons would be root-owned.

* gnu/build/activation.scm (copy-account-skeletons): Make 'directory' a
keyword parameter.  Add #:uid and #:gid and honor them.
[set-owner]: New procedure.
(activate-user-home): Add call to 'getpw' and 'chown'.  Pass UID and GID
to 'copy-account-skeletons'.
* gnu/tests/base.scm (run-basic-test)["skeletons in home directories"]:
Test file ownership under HOME.
e8c83d04 — Leo Famulari 9 years ago
Merge branch 'master' into core-updates
ae763b5b — Ludovic Courtès 9 years ago
system: Create home directories once 'file-systems' is up.

Fixes <http://bugs.gnu.org/21108>.
Reported by Andy Patterson <ajpatter@uwaterloo.ca>
and Leo Famulari <leo@famulari.name>.

* gnu/build/activation.scm (activate-users+groups)[activate-user]: Pass
  #:create-home? #t iff CREATE-HOME? and SYSTEM?.
(activate-user-home): New procedure.
* gnu/system/shadow.scm (account-shepherd-service): New procedure.
(account-service-type)[extensions]: Add SHEPHERD-ROOT-SERVICE-TYPE
extension.
* gnu/tests/base.scm (run-basic-test)["home"]
["skeletons in home directories"]: New tests.
* gnu/tests/install.scm (%separate-home-os, %separate-home-os-source)
(%test-separate-home-os): New variables.
d123f2f9 — Leo Famulari 9 years ago
Merge branch 'master' into core-updates
2986995b — Ludovic Courtès 9 years ago
services: Create /var/log/wtmp upon activation.

This fixes a bug whereby /var/log/wtmp would never be created, and thus
accounting information would be lost.

* gnu/services.scm (activation-script): Create /var/log/wtmp.
* gnu/tests/base.scm (run-basic-test)["wtmp entry"]: New test.
58ea4d40 — Ludovic Courtès 9 years ago
Merge branch 'master' into core-updates
caa78166 — Ludovic Courtès 9 years ago
services: Create /var/run/utmpx upon activation.

This fixes a bug whereby /var/run/utmpx would never be created, and thus
accounting information would be missing.

* gnu/services.scm (activation-script): Create /var/run/utmpx.
* gnu/tests/base.scm (run-basic-test)["utmpx entry"]: New test.
11f3885b — Ludovic Courtès 9 years ago
tests: Add 'nginx-service-type' test.

* gnu/tests/web.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
351ab2c1 — Leo Famulari 9 years ago
Merge branch 'master' into staging
38434419 — Ludovic Courtès 9 years ago
file-systems: 'file-system-needed-for-boot?' is #t for parents of the store.

Suggested by John Darrington <john@darrington.wattle.id.au>.

* gnu/system/file-systems.scm (%not-slash): New variable.
(file-prefix?): New procedure.
(file-system-needed-for-boot?): Use it to check whether FS holds the
store.
* tests/file-systems.scm ("file-system-needed-for-boot?"): New test.
* gnu/tests/install.scm (%separate-store-os)[file-systems]: Remove
'needed-for-boot?' field for "/gnu".
cc072591 — Leo Famulari 9 years ago
Merge branch 'master' into python-tests
b1a505ba — David Craven 9 years ago
system: Add btrfs file system support.

* gnu/build/file-systems.scm (%btrfs-endianness, btrfs-superblock?,
  read-btrfs-superblock, btrfs-superblock-uuid,
  btrfs-superblock-volume-name, check-btrfs-file-system): New variables.
  (%paritition-label-readers, %partition-uuid-readers): Add btrfs
  readers.
* gnu/system/linux-initrd.scm (linux-modules): Add btrfs modules when a
  btrfs file-system is used.
* gnu/tests/install.scm (%btrfs-root-os %btrfs-root-os-source,
  %btrfs-root-installation-script, %test-btrfs-root-os): New system
  test.
* doc/guix.texi: Adjust accordingly.

Fixes <http://bugs.gnu.org/19280>.
Next