|
Last change
on this file since cd1e3fc0 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago |
|
Replace some license headers with SPDX identifier
Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.
|
-
Property mode
set to
100644
|
|
File size:
336 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * SPDX-FileCopyrightText: 2018 Jiri Svoboda
|
|---|
| 3 | *
|
|---|
| 4 | * SPDX-License-Identifier: BSD-3-Clause
|
|---|
| 5 | */
|
|---|
| 6 |
|
|---|
| 7 | #include <task.h>
|
|---|
| 8 | #include <pcut/pcut.h>
|
|---|
| 9 | #include <perm.h>
|
|---|
| 10 |
|
|---|
| 11 | PCUT_INIT;
|
|---|
| 12 |
|
|---|
| 13 | PCUT_TEST_SUITE(perm);
|
|---|
| 14 |
|
|---|
| 15 | PCUT_TEST(revoke)
|
|---|
| 16 | {
|
|---|
| 17 | errno_t rc = perm_revoke(task_get_id(), 0xf); // XXX Need PERM_xxx
|
|---|
| 18 | PCUT_ASSERT_ERRNO_VAL(EOK, rc);
|
|---|
| 19 | }
|
|---|
| 20 |
|
|---|
| 21 | PCUT_EXPORT(perm);
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.