aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang.sh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 04:42:21 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 04:42:21 +0100
commit5ddd1a916667ec0d969f99a0a85a2092bf18b632 (patch)
treeb4f72bec6bd4b6ed6936062aff45d66bac08413c /tests/functional/lang.sh
parentc0fa61340c00f7d2b7435e01a50a6dcdae18c88d (diff)
Merge pull request #9168 from obsidiansystems/fix-lang-tests-read-only
Fix language tests a bit (cherry picked from commit e92cac789fc84b116a03db04a5f7de8df48e34cd) Change-Id: I527e94c5af0921ff2559ce5a4ac7635be791c22e
Diffstat (limited to 'tests/functional/lang.sh')
-rwxr-xr-xtests/functional/lang.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/lang.sh b/tests/functional/lang.sh
index f4760eced..c3acef5ee 100755
--- a/tests/functional/lang.sh
+++ b/tests/functional/lang.sh
@@ -68,7 +68,7 @@ for i in lang/eval-fail-*.nix; do
echo "evaluating $i (should fail)";
i=$(basename "$i" .nix)
if
- expectStderr 1 nix-instantiate --show-trace "lang/$i.nix" \
+ expectStderr 1 nix-instantiate --eval --strict --show-trace "lang/$i.nix" \
| sed "s!$(pwd)!/pwd!g" > "lang/$i.err"
then
diffAndAccept "$i" err err.exp