make/tests/scripts
Paul Smith 19ae6fe72a [SV 59230] Ensure environment variables are exportable
When checking for invalid environment variable names we searched the
entire name string instead of just the first LENGTH chars; this could
cause us to incorrectly decide the variable was not exportable.

Dmitry Goncharov <dgoncharov@users.sf.net> found this bug and
provided a test case and sample fix: I used the test but chose a
slightly different fix.

* src/variable.c (define_variable_in_set): check the variable name
not the input string.
* tests/scripts/features/targetvars: Ensure environment variable
values are exported.
2020-11-29 17:55:32 -05:00
..
features [SV 59230] Ensure environment variables are exportable 2020-11-29 17:55:32 -05:00
functions [SV 59093] Rewrite filter/filter-out to avoid large stack usage 2020-11-13 00:44:24 -05:00
misc [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
options tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
targets [SV 35711] Check for special targets earlier 2020-11-29 17:55:02 -05:00
variables tests: Simplify customization of %ENV 2020-04-01 02:02:57 -04:00
vms Refresh the test suite framework implementation. 2019-09-16 08:25:33 -04:00
test_template Update the test template. A few fixes in run_make_test(). 2004-09-22 04:36:17 +00:00