summary refs log tree commit diff
path: root/nixos/release.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-01-02 09:08:38 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-01-29 14:14:57 +0000
commit8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b (patch)
treeb01872b481981b891e684039f8e6353fcb9aba01 /nixos/release.nix
parent57ecb3a8f02010c7dd0d5aa1ee33929286966dcf (diff)
downloadnixpkgs-8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b.tar
nixpkgs-8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b.tar.gz
nixpkgs-8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b.tar.bz2
nixpkgs-8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b.tar.lz
nixpkgs-8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b.tar.xz
nixpkgs-8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b.tar.zst
nixpkgs-8a5f77ffbc8896a1f06ff4d2d61bb48d419cf66b.zip
nixos/borgbackup: add test
We had problems to get borg's own test suite running.
This test is intended to perform a quick smoke test to see whether we
have missed not any important dependency necessary to create backups
with borg.

tested with:

$ nix-build nixos/release.nix -A tests.borgbackup.x86_64-linux
Diffstat (limited to 'nixos/release.nix')
-rw-r--r--nixos/release.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index 7c2e5b6415c..972c89c1a41 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -227,6 +227,7 @@ in rec {
   tests.blivet = callTest tests/blivet.nix {};
   tests.boot = callSubTests tests/boot.nix {};
   tests.boot-stage1 = callTest tests/boot-stage1.nix {};
+  tests.borgbackup = callTest tests/borgbackup.nix {};
   tests.cadvisor = callTestOnTheseSystems ["x86_64-linux"] tests/cadvisor.nix {};
   tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable;
   tests.cjdns = callTest tests/cjdns.nix {};