tst-getdate used to rely on an in-tree datemsk file that was
subsequently replaced by a file created during test execution. This
commit removes the unused file and corresponding env-var and uses a more
appropriate name for the temp file.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
# Don't warn about Y2k problem in strftime format string.
CFLAGS-test_time.c += -Wno-format
-tst-getdate-ENV= DATEMSK=datemsk TZDIR=${common-objpfx}timezone/testdata
test_time-ARGS= EST5EDT CST
tst-tzname-ENV = TZDIR=${common-objpfx}timezone/testdata
+++ /dev/null
-%H:%M:%S %F
-%d-%m-%Y %T
static void
do_prepare (int argc, char **argv)
{
- int fd = create_temp_file ("tst-chk1.", &datemsk);
+ int fd = create_temp_file ("tst-getdate.", &datemsk);
xwrite (fd, datemskstr, sizeof (datemskstr) - 1);
setenv ("DATEMSK", datemsk, 1);