From c7dcf594f4c52fa7e2cc76918c8aa9abb98e9625 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 8 Nov 2024 17:08:09 +0000 Subject: [PATCH] Rename new tst-sem17 test to tst-sem18 As noted by Adhemerval, we already have a tst-sem17 in nptl. Tested for x86_64. --- sysdeps/pthread/Makefile | 2 +- sysdeps/pthread/{tst-sem17.c => tst-sem18.c} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename sysdeps/pthread/{tst-sem17.c => tst-sem18.c} (92%) diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 7f52e7d511..1a9f2559d9 100644 --- a/sysdeps/pthread/Makefile +++ b/sysdeps/pthread/Makefile @@ -256,7 +256,7 @@ tests += \ tst-sem14 \ tst-sem15 \ tst-sem16 \ - tst-sem17 \ + tst-sem18 \ tst-setuid3 \ tst-signal1 \ tst-signal2 \ diff --git a/sysdeps/pthread/tst-sem17.c b/sysdeps/pthread/tst-sem18.c similarity index 92% rename from sysdeps/pthread/tst-sem17.c rename to sysdeps/pthread/tst-sem18.c index c3f05d196f..1be207bcbe 100644 --- a/sysdeps/pthread/tst-sem17.c +++ b/sysdeps/pthread/tst-sem18.c @@ -24,9 +24,9 @@ int do_test (void) { - sem_unlink ("/glibc-tst-sem17"); + sem_unlink ("/glibc-tst-sem18"); errno = 0; - sem_t *s = sem_open ("/glibc-tst-sem17", 0); + sem_t *s = sem_open ("/glibc-tst-sem18", 0); TEST_VERIFY (s == SEM_FAILED); TEST_COMPARE (errno, ENOENT); return 0;