OpenGrok
Cross Reference: export.exp
xref
: /
src
/
usr.bin
/
make
/
unit-tests
/
export.exp
Home
|
History
|
Annotate
|
Download
|
only in
unit-tests
History log of
/src/usr.bin/make/unit-tests/export.exp
Revision
Date
Author
Comments
1.7
09-Feb-2022
rillig
tests/make: use more distinctive placeholder for TMPDIR
1.6
06-Feb-2021
sjg
Avoid test failures when more than one user run them.
Use a private TMPDIR
a subdir of .OBJDIR if using it
otherwise /tmp/uid${.MAKE.UID}
1.5
10-Oct-2020
sjg
Limit output of export tests to POSIX compatible env vars
1.4
22-Aug-2020
sjg
Add .SHELL as read-only variable
The .SHELL variable represents the shellPath used to run
scripts.
Reviewed by: rillig, christos
1.3
27-Jul-2020
rillig
make(1): add test for exporting single-character variables
1.2
27-Jul-2020
rillig
make(1): prepare test for .export to show all exported variables
Currently the unit tests don't cover exporting of local variables like
.TARGET or @. To see the effects, all exported variables must be listed
by the tests.
1.1
21-Aug-2014
apb
Give each group of tests its own output file.
* Rename each sub-makefile to *.mk;
* Add a *.exp file of expected output for each sub-makefile;
* Remove test.exp, which is replaced by all the other *.exp files.
* Use suffix rules to generate *.rawout and *.out files for
each test case.
* Rewrite the test and accept targets to adapt to the new way.
The old (now removed) test.exp file is almost identical to the
concatenation (in the correct order) of all the new *.exp files. There
are expected differences in makefile names embedded in the output, and
the new "exit status" lines. Some old "*** Error code 1 (ignored)"
lines are also removed (replaced by new "exit status 1" lines).
Indexes created Mon Oct 20 10:10:01 GMT 2025