yaffs Changed the logical error handling paths in yaffsfs.c
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_stat.c
index d6c0eff9281fd741eac4aa30747452cf03d4c4c9..d47fd2912cdf79de81a98b1d47be32b78e851d12 100644 (file)
@@ -1,3 +1,16 @@
+/*
+ * YAFFS: Yet another FFS. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2010 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Timothy Manning <timothy@yaffs.net>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
 #include "test_yaffs_stat.h"
 
 int test_yaffs_stat(void){
@@ -34,7 +47,7 @@ int test_yaffs_stat(void){
 }
 
 int test_yaffs_stat_clean(void){
-       return test_open_file();
+       return 1;
 }
 
 int yaffs_test_stat_mode(void){