X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_link_ELOOP_dir.c;fp=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_link_ELOOP.c;h=31c0900b19072c2b92dfe379d568876c94756934;hp=89b26321dcd62bebf3726842f6d140425ef8e795;hb=37b3d62be56e614fdce1449dd9b88aead76f052d;hpb=9032d048555cb5b86ff8c1b4319a856b43331377 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_link_ELOOP.c b/direct/timothy_tests/quick_tests/test_yaffs_link_ELOOP_dir.c similarity index 87% rename from direct/timothy_tests/quick_tests/test_yaffs_link_ELOOP.c rename to direct/timothy_tests/quick_tests/test_yaffs_link_ELOOP_dir.c index 89b2632..31c0900 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_link_ELOOP.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_link_ELOOP_dir.c @@ -11,11 +11,11 @@ * published by the Free Software Foundation. */ -#include "test_yaffs_link_ELOOP.h" +#include "test_yaffs_link_ELOOP_dir.h" -int test_yaffs_link_ELOOP(void) +int test_yaffs_link_ELOOP_dir(void) { int output=0; int error =0; @@ -25,7 +25,7 @@ int test_yaffs_link_ELOOP(void) return -1; } - output = yaffs_link(ELOOP_PATH "file",HARD_LINK_PATH); + output = yaffs_link(ELOOP_PATH "/file",HARD_LINK_PATH); if (output<0){ error=yaffs_get_error(); if (abs(error)==ELOOP){ @@ -41,7 +41,7 @@ int test_yaffs_link_ELOOP(void) } -int test_yaffs_link_ELOOP_clean(void) +int test_yaffs_link_ELOOP_dir_clean(void) { int output=0; int error =0;