Rename new tst-sem17 test to tst-sem18

As noted by Adhemerval, we already have a tst-sem17 in nptl.

Tested for x86_64.
This commit is contained in:
Joseph Myers 2024-11-08 17:08:09 +00:00
parent f745d78e26
commit c7dcf594f4
2 changed files with 3 additions and 3 deletions

View File

@ -256,7 +256,7 @@ tests += \
tst-sem14 \ tst-sem14 \
tst-sem15 \ tst-sem15 \
tst-sem16 \ tst-sem16 \
tst-sem17 \ tst-sem18 \
tst-setuid3 \ tst-setuid3 \
tst-signal1 \ tst-signal1 \
tst-signal2 \ tst-signal2 \

View File

@ -24,9 +24,9 @@
int int
do_test (void) do_test (void)
{ {
sem_unlink ("/glibc-tst-sem17"); sem_unlink ("/glibc-tst-sem18");
errno = 0; 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_VERIFY (s == SEM_FAILED);
TEST_COMPARE (errno, ENOENT); TEST_COMPARE (errno, ENOENT);
return 0; return 0;