X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_unmount2_with_handle_open_and_forced_mode_on.c;h=dc852077f8a39f67ec6459df0e31770df823c779;hp=5a20f88b9df3e55b60f5fae6d0a188fae58930c0;hb=4ae1d4603da3b68c82e8563191743000fa91d403;hpb=57c033480ccc5f019bd4ae738702456aacd02465 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 5a20f88..dc85207 100644 --- 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 @@ -12,11 +12,12 @@ */ #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 error_code =0; + output=test_yaffs_open(); if (output<0) { print_message("failed to open file\n",2);