lix/tests/lang
John Ericson e072e18475 Fix race condition in the language tests
When we pipe to `>(...)` like that, we unfortunately don't wait for the
process to finish. Better to just substitute the file.

Also, use the "unified" diff output that people (including myself) are
more familiar with, thanks to Git.
2023-07-13 08:09:03 -04:00
..
dir1
dir2
dir3
dir4
readDir
binary-data
data
empty.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-abort.err.exp
eval-fail-abort.nix
eval-fail-antiquoted-path.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-assert.err.exp
eval-fail-assert.nix * More test coverage. 2006-03-01 16:26:13 +00:00
eval-fail-bad-antiquote-1.err.exp
eval-fail-bad-antiquote-2.err.exp
eval-fail-bad-antiquote-3.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-bad-string-interpolation-1.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-bad-string-interpolation-1.nix rename files referring to antiquotation 2023-06-15 02:29:31 +02:00
eval-fail-bad-string-interpolation-2.err.exp
eval-fail-bad-string-interpolation-2.nix rename files referring to antiquotation 2023-06-15 02:29:31 +02:00
eval-fail-bad-string-interpolation-3.err.exp
eval-fail-bad-string-interpolation-3.nix rename files referring to antiquotation 2023-06-15 02:29:31 +02:00
eval-fail-blackhole.err.exp
eval-fail-blackhole.nix
eval-fail-deepseq.err.exp
eval-fail-deepseq.nix Add ‘deepSeq’ primop 2014-09-22 16:05:00 +02:00
eval-fail-foldlStrict-strict-op-application.err.exp
eval-fail-foldlStrict-strict-op-application.nix
eval-fail-fromTOML-timestamps.err.exp
eval-fail-fromTOML-timestamps.nix
eval-fail-hashfile-missing.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-hashfile-missing.nix fix hashfile test that wasn't failing due to eval laziness 2019-05-08 10:04:54 +02:00
eval-fail-list.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-list.nix Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-missing-arg.err.exp
eval-fail-missing-arg.nix
eval-fail-nonexist-path.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-nonexist-path.nix path antiquotations: rename confusing test 2021-08-06 07:38:52 -04:00
eval-fail-path-slash.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-path-slash.nix
eval-fail-recursion.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-recursion.nix
eval-fail-remove.err.exp
eval-fail-remove.nix * Added a primop `removeAttrs' to remove attributes from a set, e.g., 2005-05-18 17:19:21 +00:00
eval-fail-scope-5.err.exp
eval-fail-scope-5.nix
eval-fail-seq.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-seq.nix
eval-fail-set-override.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-set-override.nix
eval-fail-set.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-set.nix
eval-fail-substring.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
eval-fail-substring.nix New primitives: 2007-01-29 14:23:09 +00:00
eval-fail-to-path.err.exp
eval-fail-to-path.nix
eval-fail-undeclared-arg.err.exp
eval-fail-undeclared-arg.nix * Allow function argument default values to refer to other arguments 2006-05-08 12:52:47 +00:00
eval-okay-any-all.exp
eval-okay-any-all.nix Add primops all and any 2015-07-23 19:23:11 +02:00
eval-okay-arithmetic.exp
eval-okay-arithmetic.nix add docs and tests 2018-05-24 12:51:34 +00:00
eval-okay-attrnames.exp
eval-okay-attrnames.nix
eval-okay-attrs.exp
eval-okay-attrs.nix
eval-okay-attrs2.exp
eval-okay-attrs2.nix
eval-okay-attrs3.exp
eval-okay-attrs3.nix * Some syntactic sugar for attribute sets: allow {x.y.z = ...;} as a 2009-05-15 12:35:23 +00:00
eval-okay-attrs4.exp
eval-okay-attrs4.nix * Test case. 2011-07-06 10:58:53 +00:00
eval-okay-attrs5.exp * Allow a default value in attribute selection by writing 2011-07-13 12:19:57 +00:00
eval-okay-attrs5.nix
eval-okay-attrs6.exp
eval-okay-attrs6.nix
eval-okay-autoargs.exp
eval-okay-autoargs.flags
eval-okay-autoargs.nix
eval-okay-backslash-newline-1.exp
eval-okay-backslash-newline-1.nix
eval-okay-backslash-newline-2.exp
eval-okay-backslash-newline-2.nix libexpr: Recognize newline in more places in lexer 2018-03-02 17:30:48 +02:00
eval-okay-builtins-add.exp
eval-okay-builtins-add.nix
eval-okay-builtins.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-builtins.nix * A new primop `builtins', which returns an attribute set containing 2006-08-23 14:39:11 +00:00
eval-okay-callable-attrs.exp Add functors (callable attribute sets). 2014-11-15 16:12:05 -05:00
eval-okay-callable-attrs.nix
eval-okay-catattrs.exp
eval-okay-catattrs.nix Add primop ‘catAttrs’ 2014-10-04 18:15:03 +02:00
eval-okay-closure.exp
eval-okay-closure.exp.xml
eval-okay-closure.nix
eval-okay-comments.exp
eval-okay-comments.nix
eval-okay-concat.exp
eval-okay-concat.nix
eval-okay-concatmap.exp
eval-okay-concatmap.nix
eval-okay-concatstringssep.exp
eval-okay-concatstringssep.nix Add concatStringsSep as a primop 2015-07-24 02:38:09 +02:00
eval-okay-context-introspection.exp Expand tests to reproduce #7655 2023-01-21 23:50:09 -05:00
eval-okay-context-introspection.nix
eval-okay-context.exp * Check for duplicate attribute names / function arguments. `make 2010-04-22 11:02:24 +00:00
eval-okay-context.nix
eval-okay-curpos.exp Add a symbol __curPos that expands to the current source location 2013-11-18 20:16:02 +01:00
eval-okay-curpos.nix
eval-okay-deepseq.exp
eval-okay-deepseq.nix Add ‘deepSeq’ primop 2014-09-22 16:05:00 +02:00
eval-okay-delayed-with-inherit.exp
eval-okay-delayed-with-inherit.nix Simplify inherited attribute handling 2013-08-26 11:31:56 +02:00
eval-okay-delayed-with.exp
eval-okay-delayed-with.nix
eval-okay-dynamic-attrs-2.exp Fold dynamic binds handling into addAttr 2013-12-31 17:57:10 -05:00
eval-okay-dynamic-attrs-2.nix
eval-okay-dynamic-attrs-bare.exp Allow "bare" dynamic attrs 2014-01-14 14:00:15 +01:00
eval-okay-dynamic-attrs-bare.nix Allow "bare" dynamic attrs 2014-01-14 14:00:15 +01:00
eval-okay-dynamic-attrs.exp Dynamic attrs 2013-12-31 20:59:49 +00:00
eval-okay-dynamic-attrs.nix Dynamic attrs 2013-12-31 20:59:49 +00:00
eval-okay-elem.exp Test some more primops 2014-02-26 19:08:44 +01:00
eval-okay-elem.nix
eval-okay-empty-args.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-empty-args.nix
eval-okay-eq-derivations.exp
eval-okay-eq-derivations.nix
eval-okay-eq.exp
eval-okay-eq.nix * TDD: == should do a deep equality test, i.e., it should strictly 2006-08-30 12:25:27 +00:00
eval-okay-filter.exp
eval-okay-filter.nix
eval-okay-flatten.exp
eval-okay-flatten.nix * Builtin function `add' to add integers. 2006-09-22 15:29:21 +00:00
eval-okay-float.exp FIx floating point evaluation 2018-08-19 11:59:49 +02:00
eval-okay-float.nix FIx floating point evaluation 2018-08-19 11:59:49 +02:00
eval-okay-floor-ceil.exp
eval-okay-floor-ceil.nix
eval-okay-foldlStrict-lazy-elements.exp primops: make nature of foldl' strictness clearer 2022-10-16 14:29:12 +02:00
eval-okay-foldlStrict-lazy-elements.nix
eval-okay-foldlStrict-lazy-initial-accumulator.exp primops: make nature of foldl' strictness clearer 2022-10-16 14:29:12 +02:00
eval-okay-foldlStrict-lazy-initial-accumulator.nix
eval-okay-foldlStrict.exp Add test for foldl' 2020-03-04 11:43:48 +01:00
eval-okay-foldlStrict.nix
eval-okay-fromjson-escapes.exp
eval-okay-fromjson-escapes.nix Add support for \u escape in fromJSON 2020-01-07 00:09:58 +01:00
eval-okay-fromjson.exp
eval-okay-fromjson.nix
eval-okay-fromTOML-timestamps.exp
eval-okay-fromTOML-timestamps.flags
eval-okay-fromTOML-timestamps.nix Parse TOML timestamps (#8120) 2023-06-09 11:53:18 +02:00
eval-okay-fromTOML.exp
eval-okay-fromTOML.nix Fix abort in fromTOML 2019-06-24 17:09:09 +02:00
eval-okay-functionargs.exp
eval-okay-functionargs.exp.xml * Two primops: builtins.intersectAttrs and builtins.functionArgs. 2009-09-15 13:01:46 +00:00
eval-okay-functionargs.nix
eval-okay-getattrpos-functionargs.exp
eval-okay-getattrpos-functionargs.nix Make function arguments retain position info 2020-04-02 05:52:52 +02:00
eval-okay-getattrpos-undefined.exp
eval-okay-getattrpos-undefined.nix
eval-okay-getattrpos.exp
eval-okay-getattrpos.nix
eval-okay-getenv.exp
eval-okay-getenv.nix
eval-okay-groupBy.exp
eval-okay-groupBy.nix Add a test case for builtins.groupBy 2021-12-16 19:59:13 +01:00
eval-okay-hash.exp Add builtins.hashFile 2019-05-03 17:23:36 +02:00
eval-okay-hashfile.exp Add builtins.hashFile 2019-05-03 17:23:36 +02:00
eval-okay-hashfile.nix Add builtins.hashFile 2019-05-03 17:23:36 +02:00
eval-okay-hashstring.exp
eval-okay-hashstring.nix
eval-okay-if.exp
eval-okay-if.nix * More test coverage. 2006-03-01 16:26:13 +00:00
eval-okay-import.exp
eval-okay-import.nix
eval-okay-ind-string.exp
eval-okay-ind-string.nix antiquotation -> string interpolation 2023-01-02 14:38:57 +01:00
eval-okay-intersectAttrs.exp Optimize intersectAttrs performance 2022-12-24 14:51:05 +01:00
eval-okay-intersectAttrs.nix
eval-okay-let.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-let.nix
eval-okay-list.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-list.nix
eval-okay-listtoattrs.exp
eval-okay-listtoattrs.nix
eval-okay-logic.exp
eval-okay-logic.nix * More test coverage. 2006-03-01 16:26:13 +00:00
eval-okay-map.exp
eval-okay-map.nix * Builtin function `add' to add integers. 2006-09-22 15:29:21 +00:00
eval-okay-mapattrs.exp lib.concatMap and lib.mapAttrs to be builtins 2018-07-05 02:54:09 +00:00
eval-okay-mapattrs.nix
eval-okay-nested-with.exp
eval-okay-nested-with.nix Add test eval-okay-nested-with 2018-03-30 15:41:16 -04:00
eval-okay-new-let.exp
eval-okay-new-let.nix
eval-okay-null-dynamic-attrs.exp
eval-okay-null-dynamic-attrs.nix If a dynamic attribute name evaluates to null, remove it from the set 2014-03-10 10:14:50 +01:00
eval-okay-overrides.exp
eval-okay-overrides.nix Expanded test suite 2023-07-11 21:43:09 -04:00
eval-okay-partition.exp
eval-okay-partition.nix
eval-okay-path-string-interpolation.exp
eval-okay-path-string-interpolation.nix
eval-okay-path.exp
eval-okay-path.nix Add path primop. 2018-02-06 16:48:08 -05:00
eval-okay-pathexists.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-pathexists.nix
eval-okay-patterns.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-patterns.nix
eval-okay-print.err.exp
eval-okay-print.exp
eval-okay-print.nix Expanded test suite 2023-07-11 21:43:09 -04:00
eval-okay-readDir.exp primop: add readFileType, optimize readDir 2023-01-22 13:45:02 -06:00
eval-okay-readDir.nix
eval-okay-readfile.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-readfile.nix
eval-okay-readFileType.exp primop: add readFileType, optimize readDir 2023-01-22 13:45:02 -06:00
eval-okay-readFileType.nix
eval-okay-redefine-builtin.exp Add the ExprBuiltin Expr type to the AST 2013-12-31 17:45:47 +00:00
eval-okay-redefine-builtin.nix Add the ExprBuiltin Expr type to the AST 2013-12-31 17:45:47 +00:00
eval-okay-regex-match.exp
eval-okay-regex-match.nix
eval-okay-regex-split.exp
eval-okay-regex-split.nix
eval-okay-regression-20220122.exp
eval-okay-regression-20220122.nix Fix parsing of variable names that are a prefix of '__curPos' 2022-01-24 15:18:18 +01:00
eval-okay-regression-20220125.exp
eval-okay-regression-20220125.nix
eval-okay-remove.exp
eval-okay-remove.nix * Added a primop `removeAttrs' to remove attributes from a set, e.g., 2005-05-18 17:19:21 +00:00
eval-okay-replacestrings.exp
eval-okay-replacestrings.nix
eval-okay-scope-1.exp
eval-okay-scope-1.nix
eval-okay-scope-2.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-scope-2.nix
eval-okay-scope-3.exp
eval-okay-scope-3.nix * Remove ancient Fix tests. 2004-10-27 12:41:53 +00:00
eval-okay-scope-4.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-scope-4.nix
eval-okay-scope-6.exp
eval-okay-scope-6.nix
eval-okay-scope-7.exp
eval-okay-scope-7.nix * Change the scoping of "inherit (e) ..." in recs so that the 2009-05-15 13:46:13 +00:00
eval-okay-search-path.exp Fix test 2014-05-29 19:04:27 +02:00
eval-okay-search-path.flags Expanded test suite 2023-07-11 21:43:09 -04:00
eval-okay-search-path.nix Move <nix/fetchurl.nix> into the nix binary 2020-12-22 14:43:20 +01:00
eval-okay-seq.exp Add ‘seq’ primop 2014-09-22 16:05:00 +02:00
eval-okay-seq.nix
eval-okay-sort.exp
eval-okay-sort.nix Make lists be comparable 2021-11-24 13:40:46 +01:00
eval-okay-splitversion.exp
eval-okay-splitversion.nix
eval-okay-string.exp
eval-okay-string.nix
eval-okay-strings-as-attrs-names.exp
eval-okay-strings-as-attrs-names.nix
eval-okay-substring.exp
eval-okay-substring.nix
eval-okay-tail-call-1.exp-disabled Disable the tail call test 2014-01-06 11:32:22 +01:00
eval-okay-tail-call-1.nix
eval-okay-tojson.exp builtins.toJSON: fix __toString usage 2019-10-27 10:15:51 +01:00
eval-okay-tojson.nix
eval-okay-toxml.exp
eval-okay-toxml.nix
eval-okay-toxml2.exp * Sync with the trunk. 2010-05-07 14:46:47 +00:00
eval-okay-toxml2.nix
eval-okay-tryeval.exp * Print attributes in sorted order. 2010-05-12 12:15:49 +00:00
eval-okay-tryeval.nix
eval-okay-types.exp
eval-okay-types.nix
eval-okay-versions.exp * Update the expected test output (no longer an ATerm). 2010-04-21 16:22:03 +00:00
eval-okay-versions.nix
eval-okay-with.exp
eval-okay-with.nix * Doh. 2010-03-23 14:51:32 +00:00
eval-okay-xml.exp.xml
eval-okay-xml.nix Adapt tests to show that floats work properly. 2016-01-06 10:03:24 +01:00
eval-okay-zipAttrsWith.exp
eval-okay-zipAttrsWith.nix add zipAttrsWith primop 2022-01-03 21:05:53 +01:00
framework.sh Fix race condition in the language tests 2023-07-13 08:09:03 -04:00
imported.nix Add primop ‘scopedImport’ 2014-05-26 14:26:29 +02:00
imported2.nix Add primop ‘scopedImport’ 2014-05-26 14:26:29 +02:00
lib.nix Revert "Don't parse "x:x" as a URI" 2017-11-14 15:10:52 +01:00
parse-fail-dup-attrs-1.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-fail-dup-attrs-1.nix * Check for duplicate attributes and formal parameters in Nix 2005-03-10 11:33:46 +00:00
parse-fail-dup-attrs-2.err.exp
parse-fail-dup-attrs-2.nix * Check for duplicate attributes and formal parameters in Nix 2005-03-10 11:33:46 +00:00
parse-fail-dup-attrs-3.err.exp
parse-fail-dup-attrs-3.nix * Check for duplicate attributes and formal parameters in Nix 2005-03-10 11:33:46 +00:00
parse-fail-dup-attrs-4.err.exp
parse-fail-dup-attrs-4.nix * Some syntactic sugar for attribute sets: allow {x.y.z = ...;} as a 2009-05-15 12:35:23 +00:00
parse-fail-dup-attrs-6.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-fail-dup-attrs-7.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-fail-dup-attrs-7.nix
parse-fail-dup-formals.err.exp
parse-fail-dup-formals.nix * Check for duplicate attributes and formal parameters in Nix 2005-03-10 11:33:46 +00:00
parse-fail-eof-in-string.err.exp
parse-fail-eof-in-string.nix
parse-fail-mixed-nested-attrs1.err.exp
parse-fail-mixed-nested-attrs1.nix parser: Allow mixed nested and top-level attrpaths 2018-04-18 18:44:38 +02:00
parse-fail-mixed-nested-attrs2.err.exp
parse-fail-mixed-nested-attrs2.nix
parse-fail-patterns-1.err.exp
parse-fail-patterns-1.nix
parse-fail-regression-20060610.err.exp
parse-fail-regression-20060610.nix
parse-fail-undef-var-2.err.exp
parse-fail-undef-var-2.nix * New language feature: domain checks, which check whether a function 2006-07-24 16:35:34 +00:00
parse-fail-undef-var.err.exp
parse-fail-undef-var.nix
parse-fail-utf8.err.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-fail-utf8.nix Fix test file name 2023-07-10 20:58:19 -04:00
parse-okay-1.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-okay-1.nix * Remove ancient Fix tests. 2004-10-27 12:41:53 +00:00
parse-okay-crlf.exp
parse-okay-crlf.nix * Meh. 2006-08-16 10:29:43 +00:00
parse-okay-dup-attrs-5.exp
parse-okay-dup-attrs-5.nix * Check for duplicate attribute names / function arguments. `make 2010-04-22 11:02:24 +00:00
parse-okay-dup-attrs-6.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-okay-dup-attrs-6.nix
parse-okay-mixed-nested-attrs-1.exp
parse-okay-mixed-nested-attrs-1.nix
parse-okay-mixed-nested-attrs-2.exp
parse-okay-mixed-nested-attrs-2.nix
parse-okay-mixed-nested-attrs-3.exp
parse-okay-mixed-nested-attrs-3.nix
parse-okay-regression-751.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-okay-regression-751.nix
parse-okay-regression-20041027.exp
parse-okay-regression-20041027.nix * Bug fix in parsing of /* ... */ comments; due to longest match 2004-10-27 13:00:31 +00:00
parse-okay-subversion.exp
parse-okay-subversion.nix
parse-okay-url.exp Expanded test suite 2023-07-11 21:43:09 -04:00
parse-okay-url.nix Add .tar.zst support for TarballInputScheme 2021-05-29 16:03:26 +07:00