diff options
author | Iwan Aucamp <aucampia@gmail.com> | 2015-07-31T15·32+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-07-31T18·26+0200 |
commit | 75837651f15fc3c451ae54afbb5927c1abe329c5 (patch) | |
tree | 9fb1f2d2c93d49f6fb7e390a49c0987e235de571 /tests | |
parent | 76cc8e97a2cf3265b39cb6c1b444c7926871f6a0 (diff) |
Output line number on infinite recursion
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc.sh | 3 |
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$" |