about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Maudoux <layus.on@gmail.com>2019-03-10T00·50+0100
committerGuillaume Maudoux <layus.on@gmail.com>2019-03-10T00·50+0100
commit115e2c8c67a949d3fa78fda450186803cd713958 (patch)
tree344e24038f93dbac7be4ef2da7885da651214dc2 /tests
parent4f4391193cca2f7a28d351947e12f954d9432693 (diff)
Update tests to the new --roots format
Diffstat (limited to 'tests')
-rw-r--r--tests/gc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gc.sh b/tests/gc.sh
index 0adb05bf173a..8b4f8d282184 100644
--- a/tests/gc.sh
+++ b/tests/gc.sh
@@ -7,7 +7,7 @@ outPath=$(nix-store -rvv "$drvPath")
 rm -f "$NIX_STATE_DIR"/gcroots/foo
 ln -sf $outPath "$NIX_STATE_DIR"/gcroots/foo
 
-[ "$(nix-store -q --roots $outPath)" = "$NIX_STATE_DIR"/gcroots/foo ]
+[ "$(nix-store -q --roots $outPath)" = "$NIX_STATE_DIR/gcroots/foo -> $outPath" ]
 
 nix-store --gc --print-roots | grep $outPath
 nix-store --gc --print-live | grep $outPath