about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/misc.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/misc.sh b/tests/misc.sh
index 1b4d8f2cfc8e..6d0ab3adcec8 100644
--- a/tests/misc.sh
+++ b/tests/misc.sh
@@ -14,3 +14,6 @@ nix-env --version | grep "$version"
 # Usage errors.
 nix-env --foo 2>&1 | grep "no operation"
 nix-env -q --foo 2>&1 | grep "unknown flag"
+
+# Eval Errors.
+nix-instantiate --eval -E 'let a = {} // a; in a.foo' 2>&1 | grep "infinite recursion encountered, at (string):1:15$"