zeek/testing/btest/bifs/strptime.zeek
Jon Siwek 3e9ac00f21 Separate stdout from stderr in btest baselines
Redirecting both to the same file can show platform-specific differences
(e.g. Alpine), likely due to different buffering defaults.
2021-03-30 16:23:23 -07:00

10 lines
205 B
Text

#
# @TEST-EXEC: zeek -b %INPUT >out 2>err
# @TEST-EXEC: btest-diff out
# @TEST-EXEC: btest-diff err
event zeek_init()
{
print strptime("%Y-%m-%d", "2012-10-19");
print strptime("%m", "1980-10-24");
}