freebsd-src/unit-tests/varmod-localtime.exp
Simon J. Gerraty 302da1a3d3 Import bmake-20201101
Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py
2020-11-07 19:39:21 +00:00

28 lines
626 B
Plaintext

mod-localtime
%Y
2020
%Y
gmtime == gmtime
mod-localtime-indirect:
make: Invalid time value: ${:U1593536400}}
ocaltime=1593536400}
parse-errors:
make: Invalid time value: -1}.
: -1 becomes ocaltime=-1}.
make: Invalid time value: 1}.
: space 1 becomes ocaltime= 1}.
: 0 becomes ok.
: 1 becomes Thu Jan 1 01:00:01 1970.
: INT32_MAX becomes Tue Jan 19 04:14:07 2038.
: INT32_MAX + 1 becomes Tue Jan 19 04:14:08 2038.
make: Invalid time value: 10000000000000000000000000000000}.
: overflow becomes ocaltime=10000000000000000000000000000000}.
make: Invalid time value: error}.
: letter becomes ocaltime=error}.
exit status 0