aboutsummaryrefslogtreecommitdiff
path: root/time/tst-getdate.c
diff options
context:
space:
mode:
authorMartin Coufal <mcoufal@redhat.com>2023-06-09 13:58:04 +0200
committerArjun Shankar <arjun@redhat.com>2023-06-09 16:25:36 +0200
commit5e8d1b0328a850c229146f40e18848728b104583 (patch)
tree57409c93b73df74555f19becb1261b88fbd3c490 /time/tst-getdate.c
parentabcf8db7fa46b73fd5b8193ce11f9312301b84c7 (diff)
downloadglibc-5e8d1b0328a850c229146f40e18848728b104583.zip
glibc-5e8d1b0328a850c229146f40e18848728b104583.tar.gz
glibc-5e8d1b0328a850c229146f40e18848728b104583.tar.bz2
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>
Diffstat (limited to 'time/tst-getdate.c')
-rw-r--r--time/tst-getdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/tst-getdate.c b/time/tst-getdate.c
index cf97e22..4c9ed28 100644
--- a/time/tst-getdate.c
+++ b/time/tst-getdate.c
@@ -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);