forked from lix-project/lix
jade
8497f0fe19
This change feels kind of gross and reveals a fair bit about the
disorganization of our tests, but I think it makes parts of it a bit
better.
Change-Id: Idb8d9a00cbd75d5c156678c6b408b42b59d5e4d7
15 lines
351 B
Bash
15 lines
351 B
Bash
source common.sh
|
|
|
|
# 27ce722638 required some incompatible changes to the nix file, so skip this
|
|
# tests for the older versions
|
|
requireDaemonNewerThan "2.4pre20210712"
|
|
|
|
clearStore
|
|
|
|
rm -f $TEST_ROOT/result
|
|
|
|
nix-build structured-attrs.nix -A all -o $TEST_ROOT/result
|
|
|
|
[[ $(cat $TEST_ROOT/result/foo) = bar ]]
|
|
[[ $(cat $TEST_ROOT/result-dev/foo) = foo ]]
|