Use null as device file as console might not be there

This commit is contained in:
Jochen Sprickerhof 2017-01-04 23:21:46 +01:00
parent e46e610b84
commit fc2a3398a5

View File

@ -258,7 +258,7 @@ void FileTest::testFileAttributes3()
#if POCO_OS==POCO_OS_CYGWIN
File f("/dev/tty");
#else
File f("/dev/console");
File f("/dev/null");
#endif
#elif defined(POCO_OS_FAMILY_WINDOWS) && !defined(_WIN32_WCE)
File f("CON");