about summary refs log tree commit diff
path: root/tests/export-graph.sh
blob: f31bc75abfdd8f0c2233e2ed480085e35d4e6fdd (plain) (blame)
1
2
3
4
5
6
7
8
9
source common.sh

clearStore
clearProfiles

outPath=$($nixbuild ./export-graph.nix)

test $(nix-store -q --references ./result | wc -l) = 2 || fail "bad nr of references"
nix-store -q --references ./result | grep -q input-2 || fail "missing reference"