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;