about summary refs log tree commit diff
path: root/tests/remote-store.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/remote-store.sh')
-rw-r--r--tests/remote-store.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/remote-store.sh b/tests/remote-store.sh
index f2f2806d022d..77437658ead6 100644
--- a/tests/remote-store.sh
+++ b/tests/remote-store.sh
@@ -13,3 +13,7 @@ cmp $TEST_ROOT/d1 $TEST_ROOT/d2
 nix-store --gc --max-freed 1K
 
 killDaemon
+
+user=$(whoami)
+[ -e $NIX_STATE_DIR/gcroots/per-user/$user ]
+[ -e $NIX_STATE_DIR/profiles/per-user/$user ]