aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdyn.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-24 14:54:26 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-24 14:54:26 +0000
commit40f413d3c97a7694703938cd031ce15912b29ff7 (patch)
tree67e9f3bdbefa23aba17e4b78ee92b91daa92197c /test/testdyn.c
parentfa64f08fc1ad45d0984828695697f6abde7e8ffd (diff)
downloadChibiOS-40f413d3c97a7694703938cd031ce15912b29ff7.tar.gz
ChibiOS-40f413d3c97a7694703938cd031ce15912b29ff7.tar.bz2
ChibiOS-40f413d3c97a7694703938cd031ce15912b29ff7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6025 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testdyn.c')
-rw-r--r--test/testdyn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testdyn.c b/test/testdyn.c
index 31fd0c005..7ba281e31 100644
--- a/test/testdyn.c
+++ b/test/testdyn.c
@@ -224,11 +224,11 @@ static void dyn3_execute(void) {
/* Detach and let the thread execute and terminate.*/
chThdRelease(tp);
test_assert(6, tp->p_refs == 0, "detach failure");
- test_assert(7, tp->p_state == THD_STATE_READY, "invalid state");
+ test_assert(7, tp->p_state == CH_STATE_READY, "invalid state");
test_assert(8, regfind(tp), "thread disappeared");
test_assert(9, regfind(tp), "thread disappeared");
chThdSleepMilliseconds(50); /* The thread just terminates. */
- test_assert(10, tp->p_state == THD_STATE_FINAL, "invalid state");
+ test_assert(10, tp->p_state == CH_STATE_FINAL, "invalid state");
/* Clearing the zombie by scanning the registry.*/
test_assert(11, regfind(tp), "thread disappeared");