mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-20 20:56:20 +01:00
use /dev/tty instead /dev/console on Cygwin otherwise a file acces check
makes the test failing. Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
083ade8135
commit
293e7c91f7
@ -228,7 +228,11 @@ void FileTest::testFileAttributes2()
|
||||
void FileTest::testFileAttributes3()
|
||||
{
|
||||
#if defined(POCO_OS_FAMILY_UNIX)
|
||||
#if POCO_OS==POCO_OS_CYGWIN
|
||||
File f("/dev/tty");
|
||||
#else
|
||||
File f("/dev/console");
|
||||
#endif
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS) && !defined(_WIN32_WCE)
|
||||
File f("CON");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user