about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authormarkuskowa <markus.kowalewski@gmail.com>2018-12-09 22:34:02 +0100
committerGitHub <noreply@github.com>2018-12-09 22:34:02 +0100
commitc362f98ba0c41ecc6f4f01401fe10e76df3a4265 (patch)
tree6afc0637381c6d8cc6c89766702ea58db04dc8c2 /nixos
parent2e0c3d202c6e2d166fff03a625ac5348a2b67ac6 (diff)
parent3cbf18f32b1fb4290819b76b9981164c4bf5c0f1 (diff)
downloadnixlib-c362f98ba0c41ecc6f4f01401fe10e76df3a4265.tar
nixlib-c362f98ba0c41ecc6f4f01401fe10e76df3a4265.tar.gz
nixlib-c362f98ba0c41ecc6f4f01401fe10e76df3a4265.tar.bz2
nixlib-c362f98ba0c41ecc6f4f01401fe10e76df3a4265.tar.lz
nixlib-c362f98ba0c41ecc6f4f01401fe10e76df3a4265.tar.xz
nixlib-c362f98ba0c41ecc6f4f01401fe10e76df3a4265.tar.zst
nixlib-c362f98ba0c41ecc6f4f01401fe10e76df3a4265.zip
Merge pull request #51791 from dotlambda/borgbackup-1.1.8
borgbackup: 1.1.7 -> 1.1.8
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/borgbackup.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/borgbackup.nix b/nixos/tests/borgbackup.nix
index 9b39abdfa8ed..fdb87dbea438 100644
--- a/nixos/tests/borgbackup.nix
+++ b/nixos/tests/borgbackup.nix
@@ -130,6 +130,9 @@ in {
       # Make sure keepFile has the correct content
       $client->succeed("$borg extract '${localRepo}::${archiveName}'");
       $client->succeed('c=$(cat ${dataDir}/${keepFile}) && [[ "$c" == "${keepFileData}" ]]');
+      # Make sure the same is true when using `borg mount`
+      $client->succeed("mkdir -p /mnt/borg && $borg mount '${localRepo}::${archiveName}' /mnt/borg");
+      $client->succeed('c=$(cat /mnt/borg/${dataDir}/${keepFile}) && [[ "$c" == "${keepFileData}" ]]');
     };
 
     subtest "remote", sub {