X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_chmod_EINVAL.c;h=df0205f3676cbc3592d5b983946aca19e562aaed;hp=8c49892d05d6e95d3d4745dff8afb9adcc28ddc4;hb=a78bce6f4a7042fa153ab32d2bb263ecf7d27b66;hpb=8d1e14f0254f27ca2b96089a24628548d176944e diff --git a/direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.c b/direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.c index 8c49892..df0205f 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet another FFS. A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Timothy Manning @@ -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();