]> git.ekhem.eu.org Git - guix.git/commit
[tests] Simplify test code: extract shared assertion helpers, trim vps-base.scm.
authorJakub Czajka <jakub@ekhem.eu.org>
Mon, 20 Jul 2026 21:21:21 +0000 (21:21 +0000)
committerJakub Czajka <jakub@ekhem.eu.org>
Fri, 24 Jul 2026 09:12:32 +0000 (09:12 +0000)
commitec615f673dbc7183b9a8ae44a30cfb3b253bdf86
treea8c34758c7bb6b27f75d2ee2859ce7387b75f953
parent3961e3e65d15c2b3aaeccee72ba12862cb034ab0
[tests] Simplify test code: extract shared assertion helpers, trim vps-base.scm.

- Add tests/common.scm with assert-service-running and
  assert-binary-exists helpers, DRYing patterns repeated
  across 6 per-component test files.
- Remove unnecessary let block from %test-vps — test
  functions already have descriptive names.
- Inline single-use os binding in run-vps-test.

Co-Authored-By: Claude <noreply@anthropic.com>
tests/claude-code.scm
tests/common.scm [new file with mode: 0644]
tests/dnscrypt.scm
tests/networking.scm
tests/ntp.scm
tests/paseo.scm
tests/sshd.scm
tests/vps-base.scm