1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

Test nix-store --switch-profile and more daemon actions

This commit is contained in:
Eelco Dolstra 2014-02-26 18:28:55 +01:00
parent fac6f8aac0
commit 045d3b2ed7
2 changed files with 70 additions and 51 deletions

View file

@ -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