tests: posix: semaphores: coalesce string constants
Just a formatting change, in a separate commit. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
parent
c2609155b3
commit
a08240ba0d
1 changed files with 1 additions and 3 deletions
|
@ -73,9 +73,7 @@ static void semaphore_test(sem_t *sem)
|
|||
zassert_equal(sem_getvalue(sem, &val), 0);
|
||||
zassert_equal(val, 1);
|
||||
|
||||
zassert_equal(sem_destroy(sem), -1,
|
||||
"acquired semaphore"
|
||||
" is destroyed");
|
||||
zassert_equal(sem_destroy(sem), -1, "acquired semaphore is destroyed");
|
||||
zassert_equal(errno, EBUSY);
|
||||
|
||||
/* TESTPOINT: take semaphore which is initialized with 1 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue