Fix tests

This commit is contained in:
Mathieu Maret 2024-03-13 22:02:04 +01:00 committed by Mathieu Maret
parent d6ab0da231
commit 778999c8f4

View File

@ -306,9 +306,8 @@ void sleepThread(void *arg)
}
unsigned long ellapsedTime = jiffies_to_msecs(jiffies - initialJiffies);
assertmsg(ellapsedTime >= 500 && ellapsedTime < 510, "ellapsedTime %lu\n", ellapsedTime);
threadMsleep(0);
printf("I should never be showed\n");
assert(1);
threadMsleep(ULONG_MAX);
assert(0);
}
struct mutex mutexTest;