diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-26T17·28+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-26T17·28+0100 |
commit | 045d3b2ed7aa7678779052a1d0accf53d47988b7 (patch) | |
tree | a77d999a6726441fe29a86295915fcb5bd2d3776 /tests/remote-store.sh | |
parent | fac6f8aac0802be4481e7dab53d4875ca8b60ee0 (diff) |
Test nix-store --switch-profile and more daemon actions
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 |