aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt/testmtx.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 10:07:00 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 10:07:00 +0000
commitcf204e72ea5fd6e4be8b3295cb148fde5fdd47d2 (patch)
tree5aae4b9a6c78c8f14c2a6ca8cd6446f42b3b29bd /test/rt/testmtx.c
parent641f2c372605cf405f0dda8536b45a78e0e5e2e2 (diff)
downloadChibiOS-cf204e72ea5fd6e4be8b3295cb148fde5fdd47d2.tar.gz
ChibiOS-cf204e72ea5fd6e4be8b3295cb148fde5fdd47d2.tar.bz2
ChibiOS-cf204e72ea5fd6e4be8b3295cb148fde5fdd47d2.zip
Tree reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8900 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/rt/testmtx.c')
-rw-r--r--test/rt/testmtx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rt/testmtx.c b/test/rt/testmtx.c
index f34072ad0..31737b1ba 100644
--- a/test/rt/testmtx.c
+++ b/test/rt/testmtx.c
@@ -436,15 +436,15 @@ static void mtx5_execute(void) {
chMtxUnlockS(&m1);
chSysUnlock();
- test_assert(3, queue_isempty(&m1.m_queue), "queue not empty");
- test_assert(4, m1.m_owner == NULL, "still owned");
+ test_assert(3, queue_isempty(&m1.queue), "queue not empty");
+ test_assert(4, m1.owner == NULL, "still owned");
test_assert(5, chThdGetPriorityX() == prio, "wrong priority level");
#endif /* !CH_CFG_USE_MUTEXES_RECURSIVE */
chMtxLock(&m1);
chMtxUnlockAll();
- test_assert(6, queue_isempty(&m1.m_queue), "queue not empty");
- test_assert(7, m1.m_owner == NULL, "still owned");
+ test_assert(6, queue_isempty(&m1.queue), "queue not empty");
+ test_assert(7, m1.owner == NULL, "still owned");
}
ROMCONST struct testcase testmtx5 = {