X-Git-Url: http://www.aleph1.co.uk/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=2b3e9117320ff994e83d82ac7713d39fd9dea9ea;hp=5a20f88b9df3e55b60f5fae6d0a188fae58930c0;hb=1f3d64d1d804fef6715126dead54bf30b176c67e;hpb=e5daa72b0083831ab762a650860687fe7d25d6b3 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..2b3e911 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 @@ -1,8 +1,7 @@ /* * 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 * @@ -12,11 +11,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);