X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_truncate_ENOENT.c;h=970e634ccce1a4d438c4359bf4e09becbeffb827;hp=d1697d19e9dbb19d3a720ef3246ff2001049d28b;hb=a717f825f1de8707f602aaba9c541e62a1fc1de8;hpb=cabb7b51f48a784fbd8bd04ea8878abe2196167a diff --git a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_truncate_ENOENT.c b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_truncate_ENOENT.c index d1697d1..970e634 100644 --- a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_truncate_ENOENT.c +++ b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_truncate_ENOENT.c @@ -20,7 +20,7 @@ int test_yaffs_truncate_ENOENT(void) int output=0; - output= yaffs_truncate("/yaffs2/non_existing_file",FILE_SIZE_TRUNCATED ); + output= yaffs_truncate(YAFFS_MOUNT_POINT "/non_existing_file",FILE_SIZE_TRUNCATED ); if (output<0){ error=yaffs_get_error(); if (abs(error)==ENOENT){