]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Convert tst-sem5 & tst-sem13 to use libsupport
authorMike Crowe <mcrowe@brightsign.biz>
Mon, 25 Mar 2019 12:28:18 +0000 (09:28 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 Mar 2019 13:36:43 +0000 (10:36 -0300)
commit7a773abf7c91f74fdc1866951e123e68713e88e1
tree8ce86a544156f7622e0658de76040a43d0e36b66
parentd7563e6277ee9c0b6936debd4a6c9a910105b68a
nptl: Convert tst-sem5 & tst-sem13 to use libsupport

Checked on x86_64-linux-gnu and i686-linux-gnu.

* nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
(do_test) Use libsupport test macros rather than hand-coded
conditionals and error messages. Ensure that sem_init returns zero
rather than not -1. Use <support/test-driver.c> rather than
test-skeleton.c.

* nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
test macros rather than hand-coded conditionals and error messages.
Use <support/test-driver.c> rather than test-skeleton.c.
ChangeLog
nptl/tst-sem13.c
nptl/tst-sem5.c