tests.stdenv: check that attrs in env are exported
This commit is contained in:
parent
e14de22618
commit
9b1e8d7267
@ -47,6 +47,7 @@ let
|
||||
declare -p string
|
||||
echo "env.string = $string"
|
||||
[[ $string == "testing-string" ]] || (echo "'\$string' was not 'testing-string'" && false)
|
||||
[[ "$(declare -p string)" == 'declare -x string="testing-string"' ]] || (echo "'\$string' was not exported" && false)
|
||||
touch $out
|
||||
'';
|
||||
} // extraAttrs);
|
||||
|
Loading…
Reference in New Issue
Block a user