make-dfsg/tests/scripts
Paul Smith e97159745d [SV 46995] Strip leading/trailing space from variable names
* makeint.h: Change MAP_SPACE to MAP_NEWLINE, and add MAP_PATHSEP
and MAP_SPACE which is now MAP_BLANK|MAP_NEWLINE.  Create
NEW_TOKEN(), END_OF_TOKEN(), ISBLANK(), ISSPACE() macros.
* main.c (initialize_stopchar_map): Set MAP_NEWLINE only for
newline characters.
* Convert all uses of isblank() and isspace() to macros.
* Examine all uses of isblank() (doesn't accept newlines) and
change them wherever possible to ISSPACE() (does accept newlines).
* function.c (func_foreach): Strip leading/trailing space.
* variable.c (parse_variable_definition): Clean up.
* tests/scripts/functions/foreach: Test settings and errors.
* tests/scripts/functions/call: Rewrite to new-style.
* tests/scripts/misc/bs-nl: Add many more tests for newlines.
2016-03-23 01:25:51 -04:00
..
features * job.c (child_error): Combine file info with error message. 2016-03-20 14:23:22 -04:00
functions [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
misc [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
options * job.c (child_error): Combine file info with error message. 2016-03-20 14:23:22 -04:00
targets * job.c (child_error): Combine file info with error message. 2016-03-20 14:23:22 -04:00
variables * job.c (child_error): Combine file info with error message. 2016-03-20 14:23:22 -04:00
vms [SV 41758]: Fix archive support for VMS. 2014-10-20 01:31:42 -04:00
test_template Update the test template. A few fixes in run_make_test(). 2004-09-22 04:36:17 +00:00