yaffs more tests for quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_ftruncate_EINVAL.c
index 9a47c39046e027902ea0095e49a365e730dd2568..ddab41869192c878cf57fc4d5969ba6ecf051bb9 100644 (file)
@@ -46,6 +46,9 @@ int test_yaffs_ftruncate_EINVAL(void){
 }
 
 int test_yaffs_ftruncate_EINVAL_clean(void){
+       if (handle<0){
+               return yaffs_close(handle);
+       }
        return 1;
        
 }