Try to use /proc/self instead of /dev/core in the unit test.
/dev/core doesn't seem to exist on the machines running Travis CI builds, check if /proc/self can work there. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fe731cbdee
commit
747a681f61
1 changed files with 1 additions and 1 deletions
|
|
@ -737,7 +737,7 @@ void FileNameTestCase::TestExists()
|
|||
#ifdef __LINUX__
|
||||
// These files are only guaranteed to exist under Linux.
|
||||
// No need for wxFILE_EXISTS_NO_FOLLOW here; wxFILE_EXISTS_SYMLINK implies it
|
||||
CPPUNIT_ASSERT( wxFileName::Exists("/dev/core", wxFILE_EXISTS_SYMLINK) );
|
||||
CPPUNIT_ASSERT( wxFileName::Exists("/proc/self", wxFILE_EXISTS_SYMLINK) );
|
||||
CPPUNIT_ASSERT( wxFileName::Exists("/dev/log", wxFILE_EXISTS_SOCKET) );
|
||||
#endif // __LINUX__
|
||||
#ifndef __VMS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue