yaffs direct tests: Modify some tests to check properly
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_chmod_EINVAL.c
index 8c49892d05d6e95d3d4745dff8afb9adcc28ddc4..04e5f8bb125d2abc2891ef3afcd60425bb773ef8 100644 (file)
@@ -16,7 +16,9 @@
 int test_yaffs_chmod_EINVAL(void)
 {
        int error=0;
-       int output=yaffs_chmod("/non_existing_directory/foo",0);
+       int output;
+
+       output = yaffs_chmod("/yaffs2/foo",11111);
 
        if (output<0){
                error=yaffs_get_error();