projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finished the 32 and 64 bit tests.
[yaffs2.git]
/
direct
/
test-framework
/
unit_tests
/
64_and_32_bit_time
/
shared
/
create_file.c
diff --git a/direct/test-framework/unit_tests/64_and_32_bit_time/shared/create_file.c
b/direct/test-framework/unit_tests/64_and_32_bit_time/shared/create_file.c
new file mode 100644
(file)
index 0000000..
85c29bd
--- /dev/null
+++ b/
direct/test-framework/unit_tests/64_and_32_bit_time/shared/create_file.c
@@ -0,0
+1,10
@@
+#include "shared.h"
+
+int random_seed;
+int simulate_power_failure = 0;
+
+int main(int argc, char *argv[] ){
+ int ret = shared_create(argc, argv);
+ ret = ret && shared_validate_file(argc, argv);
+ return ret;
+}