blob: 35fe18b6dff016229ae93d2d8009c441fba86f4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <Main.h>
using namespace Balau;
void MainTask::Do() {
Printer::log(M_STATUS, "Test::Sanity running.");
TAssert(sizeof(off_t) == 8);
#ifdef __x86_64__
TAssert(sizeof(size_t) == 8);
TAssert(sizeof(time_t) == 8);
#else
TAssert(sizeof(size_t) == 4);
TAssert(sizeof(time_t) == 4);
#endif
Printer::log(M_STATUS, "Test::Sanity passed.");
}
|