lix/tests/remote-store.sh
Eelco Dolstra 7c7707638a Doh
2014-02-26 22:41:29 +01:00

16 lines
240 B
Bash

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 $TEST_ROOT/d1 $TEST_ROOT/d2
nix-store --gc --max-freed 1K
killDaemon