X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_stat_ELOOP.c;fp=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_stat_ELOOP.c;h=ab83a8d1659b2b99b43934f1fa2a96b48a7f5c45;hb=37b3d62be56e614fdce1449dd9b88aead76f052d;hp=451b77f5dc808814cfffe0f033f0a38ecea33a46;hpb=9032d048555cb5b86ff8c1b4319a856b43331377;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.c b/direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.c index 451b77f..ab83a8d 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_stat_ELOOP.c @@ -28,7 +28,7 @@ int test_yaffs_stat_ELOOP(void) output=yaffs_stat(ELOOP_PATH, &stat);; if (output<0){ error_code=yaffs_get_error(); - if (abs(error_code)==ENOTDIR){ + if (abs(error_code)==ELOOP){ return 1; } else { print_message("returned error does not match the the expected error\n",2);