From c41357ed224a93625b08f8042f1af08d8d976aa0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 4 Apr 2021 15:35:46 +0200 Subject: [PATCH] Skip another test using /proc and /sys when using LXC This should have been part of the previous commit. --- tests/filename/filenametest.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 );