projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
64 bit test now cleans correctly.
[yaffs2.git]
/
direct
/
test-framework
/
unit_tests
/
64_and_32_bit_time
/
32_bit
/
time_32_tests.c
diff --git
a/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/time_32_tests.c
b/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/time_32_tests.c
index 8d10d27ca7e7455938deb08b9807a16d2bd7b955..9c99242074dc280b55f1bc0cdea130c0cd866e91 100644
(file)
--- a/
direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/time_32_tests.c
+++ b/
direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/time_32_tests.c
@@
-10,10
+10,10
@@
int main()
{
yaffs_start_up();
{
yaffs_start_up();
- //test that ytime is
64
bits
+ //test that ytime is
32
bits
- if (sizeof(YTIME_T) !=
8
) {
- printf("Error:size of YTIME_T is
not 64 bits\n"
);
+ if (sizeof(YTIME_T) !=
4
) {
+ printf("Error:size of YTIME_T is
%lu, not 32 bits \n", sizeof(YTIME_T)*8
);
return 1;
}
return 1;
}