Skip another test using /proc and /sys when using LXC

This should have been part of the previous commit.
This commit is contained in:
Vadim Zeitlin
2021-04-04 15:35:46 +02:00
parent 051fa788ad
commit c41357ed22

View File

@@ -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 );