diff options
Diffstat (limited to 'tests/remote-store.sh')
-rw-r--r-- | tests/remote-store.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/remote-store.sh b/tests/remote-store.sh index 6a9585cacfa8..d14442614079 100644 --- a/tests/remote-store.sh +++ b/tests/remote-store.sh @@ -2,6 +2,15 @@ source common.sh clearStore clearManifests + startDaemon + $SHELL ./user-envs.sh + +nix-store --dump-db > $TEST_ROOT/d1 +NIX_REMOTE= nix-store --dump-db > $TEST_ROOT/d2 +cmp d1 d2 + +nix-store --gc --max-freed 1K + killDaemon |