Fix tests
This commit is contained in:
parent
d6ab0da231
commit
778999c8f4
@ -306,9 +306,8 @@ void sleepThread(void *arg)
|
|||||||
}
|
}
|
||||||
unsigned long ellapsedTime = jiffies_to_msecs(jiffies - initialJiffies);
|
unsigned long ellapsedTime = jiffies_to_msecs(jiffies - initialJiffies);
|
||||||
assertmsg(ellapsedTime >= 500 && ellapsedTime < 510, "ellapsedTime %lu\n", ellapsedTime);
|
assertmsg(ellapsedTime >= 500 && ellapsedTime < 510, "ellapsedTime %lu\n", ellapsedTime);
|
||||||
threadMsleep(0);
|
threadMsleep(ULONG_MAX);
|
||||||
printf("I should never be showed\n");
|
assert(0);
|
||||||
assert(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct mutex mutexTest;
|
struct mutex mutexTest;
|
||||||
|
Loading…
Reference in New Issue
Block a user