From: Philippe E. <ph...@us...> - 2005-04-27 08:17:55
|
Update of /cvsroot/oprofile/oprofile/libutil++/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6023/libutil++/tests Modified Files: Tag: BRANCH_ANON_MAPPING file_manip_tests.cpp Log Message: op_file_readable() return sucess only for regular file Index: file_manip_tests.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libutil++/tests/file_manip_tests.cpp,v retrieving revision 1.8 retrieving revision 1.8.4.1 diff -u -p -d -r1.8 -r1.8.4.1 --- file_manip_tests.cpp 24 Jan 2004 20:05:47 -0000 1.8 +++ file_manip_tests.cpp 27 Apr 2005 08:17:41 -0000 1.8.4.1 @@ -165,12 +165,12 @@ static input_output<char const *, bool> { { __FILE__, true }, { "./" __FILE__, true }, - { ".", true }, - { "/.", true }, - { "./", true }, - { "/", true }, - { "../", true }, - { "../.", true }, + { ".", false }, + { "/.", false }, + { "./", false }, + { "/", false }, + { "../", false }, + { "../.", false }, { "non_existing_file", false }, { 0, 0 } }; |