mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Remove unused DATEMSK file for tst-getdate
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>
This commit is contained in:
parent
abcf8db7fa
commit
5e8d1b0328
@ -104,7 +104,6 @@ CFLAGS-mktime.c += $(config-cflags-wno-ignored-attributes)
|
||||
# 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
|
||||
|
@ -1,2 +0,0 @@
|
||||
%H:%M:%S %F
|
||||
%d-%m-%Y %T
|
@ -98,7 +98,7 @@ static const char datemskstr[] =
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user