tvl-depot/tests/remote-store.sh

16 lines
218 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 d1 d2
nix-store --gc --max-freed 1K
killDaemon