diff options
author | Joseph Myers <josmyers@redhat.com> | 2024-11-08 17:08:09 +0000 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2024-11-08 17:08:09 +0000 |
commit | c7dcf594f4c52fa7e2cc76918c8aa9abb98e9625 (patch) | |
tree | 778c2a8604fcbe724c40f25dcb4e11e731fe45cf | |
parent | f745d78e2628cd5b13ca119ae0c0e21d08ad1906 (diff) | |
download | glibc-c7dcf594f4c52fa7e2cc76918c8aa9abb98e9625.zip glibc-c7dcf594f4c52fa7e2cc76918c8aa9abb98e9625.tar.gz glibc-c7dcf594f4c52fa7e2cc76918c8aa9abb98e9625.tar.bz2 |
Rename new tst-sem17 test to tst-sem18
As noted by Adhemerval, we already have a tst-sem17 in nptl.
Tested for x86_64.
-rw-r--r-- | sysdeps/pthread/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/pthread/tst-sem18.c (renamed from sysdeps/pthread/tst-sem17.c) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 7f52e7d..1a9f255 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 index c3f05d1..1be207b 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; |