+ Bug when trying to truncate a file in a non-existing directory. The error
+ returned is ENOENT it should be ENOTDIR.
+
+ Bug when trying to stat a file in a non-existing directory. The error
+ returned is ENOENT, it should be ENOTDIR
+
+ Bug when trying to chmod a file in a non-existing directory. The error
+ returned is ENOENT, it should be ENOTDIR
+
+ Bug when trying to mkdir on top of a non-existing directory. The error
+ returned is ENOENT, it should be ENOTDIR. yaffs_mkdir should never return ENOENT.
+
+
+ Bug with truncating to a very large size. The yaffs_truncate function truncates the file to a massive size without any errors.
+ The function should return the error EINVAL.
+
+ Bug with lseeking to a very large size (size =100000000000000000000000000000000000000) without causing an error.
+ Should cause the error EINVAL.
+
+ Bug with unmounting a non-existing mountpoint. The function returns ENODEV
+ but should be returning EINVAL.