- Remove circular import: tests/sshd.scm no longer imports tests/vps-base.
sshd-test-cases now takes connect-gexp as a parameter.
- Fix conf/home/claude.scm: fall back to getcwd when GUIX_PACKAGE_PATH
is unset, preventing #f in string-append during auto-compilation.
- Switch Makefile test-vps from guix system test (unavailable in this
Guix version) to guix build -e.
- Remove home test imports from tests/vps-base.scm for now -- the
conf/home modules depend on the full Guix environment.
Co-Authored-By: Claude <noreply@anthropic.com>
# VPS test suite -- boots a VM and runs all test cases.
test-vps:
- GUIX_PACKAGE_PATH=$(CURDIR) guix system test \
- $(CURDIR)/tests/vps-base.scm
+ GUIX_PACKAGE_PATH=$(CURDIR) guix build -L $(CURDIR) \
+ -e '(@ (tests vps-base) %test-vps)'
# Build the VPS configuration and run the test suite.
check-vps: build-vps-system test-vps
(define-module (tests vps-base)
#:use-module (gnu tests)
#:use-module (gnu system)
+ #:use-module (gnu system shadow)
#:use-module (gnu system vm)
#:use-module (gnu services)
#:use-module (gnu services base)