diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index f16f931664..b526f41a04 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -1053,6 +1053,9 @@ void FileNameTestCase::TestShortcuts() // Check that GetSize() works correctly for special files. TEST_CASE("wxFileName::GetSizeSpecial", "[filename][linux][special-file]") { + if ( IsRunningInLXC() ) + return; + wxULongLong size = wxFileName::GetSize("/proc/kcore"); INFO( "size of /proc/kcore=" << size ); CHECK( size > 0 );