Update comments to remove mentions of 4KiB for /sys files
The actual size is the page size, so update the comments to match the changes to the code in the previous commit.
This commit is contained in:
@@ -1059,7 +1059,8 @@ TEST_CASE("wxFileName::GetSizeSpecial", "[filename][linux][special-file]")
|
||||
INFO( "size of /proc/kcore=" << size );
|
||||
CHECK( size > 0 );
|
||||
|
||||
// All files in /sys seem to have size of 4KiB currently.
|
||||
// All files in /sys are one page in size, irrespectively of the size of
|
||||
// their actual contents.
|
||||
CHECK( wxFileName::GetSize("/sys/power/state") == sysconf(_SC_PAGESIZE) );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user