about summary refs log tree commit diff
path: root/tests/simple.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple.sh')
-rw-r--r--tests/simple.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/simple.sh b/tests/simple.sh
index a2242e34e8c7..7f7b48f2d91b 100644
--- a/tests/simple.sh
+++ b/tests/simple.sh
@@ -2,6 +2,8 @@ source common.sh
 
 drvPath=$($nixinstantiate simple.nix)
 
+test "$($nixstore -q --binding system "$drvPath")" = "$system"
+
 echo "derivation is $drvPath"
 
 outPath=$($nixstore -rvv "$drvPath")