projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added comments to yaffs_DoUtimre
[yaffs2.git]
/
direct
/
test-framework
/
timothy_tests
/
quick_tests
/
test_yaffs_unmount2_with_handle_open_and_forced_mode_on.c
diff --git
a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_unmount2_with_handle_open_and_forced_mode_on.c
b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_unmount2_with_handle_open_and_forced_mode_on.c
index 5a20f88b9df3e55b60f5fae6d0a188fae58930c0..2b3e9117320ff994e83d82ac7713d39fd9dea9ea 100644
(file)
--- a/
direct/test-framework/timothy_tests/quick_tests/test_yaffs_unmount2_with_handle_open_and_forced_mode_on.c
+++ b/
direct/test-framework/timothy_tests/quick_tests/test_yaffs_unmount2_with_handle_open_and_forced_mode_on.c
@@
-1,8
+1,7
@@
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002-2011 Aleph One Ltd.
- * for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
*
* Created by Timothy Manning <timothy@yaffs.net>
*
*
* Created by Timothy Manning <timothy@yaffs.net>
*
@@
-12,11
+11,12
@@
*/
#include "test_yaffs_unmount2_with_handle_open_and_forced_mode_on.h"
*/
#include "test_yaffs_unmount2_with_handle_open_and_forced_mode_on.h"
+#include "test_yaffs_open.h"
int test_yaffs_unmount2_with_handle_open_and_forced_mode_on(void)
{
int output = -1;
int test_yaffs_unmount2_with_handle_open_and_forced_mode_on(void)
{
int output = -1;
- int error_code =0;
+
output=test_yaffs_open();
if (output<0) {
print_message("failed to open file\n",2);
output=test_yaffs_open();
if (output<0) {
print_message("failed to open file\n",2);