]> sourceware.org Git - glibc.git/commitdiff
Rename new tst-sem17 test to tst-sem18
authorJoseph Myers <josmyers@redhat.com>
Fri, 8 Nov 2024 17:08:09 +0000 (17:08 +0000)
committerJoseph Myers <josmyers@redhat.com>
Fri, 8 Nov 2024 17:08:09 +0000 (17:08 +0000)
As noted by Adhemerval, we already have a tst-sem17 in nptl.

Tested for x86_64.

sysdeps/pthread/Makefile
sysdeps/pthread/tst-sem18.c [moved from sysdeps/pthread/tst-sem17.c with 92% similarity]

index 7f52e7d511d201aeca1bdb61e09e64aa7ec22075..1a9f2559d9d8c38f7cd254b29816d12edf4d157c 100644 (file)
@@ -256,7 +256,7 @@ tests += \
   tst-sem14 \
   tst-sem15 \
   tst-sem16 \
-  tst-sem17 \
+  tst-sem18 \
   tst-setuid3 \
   tst-signal1 \
   tst-signal2 \
similarity index 92%
rename from sysdeps/pthread/tst-sem17.c
rename to sysdeps/pthread/tst-sem18.c
index c3f05d196f4ef17ade8cefa25e5c301242c13f99..1be207bcbeeb56f1868b07c749890578eacc4991 100644 (file)
@@ -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;
This page took 0.041814 seconds and 5 git commands to generate.