From 045d3b2ed7aa7678779052a1d0accf53d47988b7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Feb 2014 18:28:55 +0100 Subject: Test nix-store --switch-profile and more daemon actions --- tests/remote-store.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/remote-store.sh') 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 -- cgit 1.4.1