diff --git a/tests/file/filetest.cpp b/tests/file/filetest.cpp index d418362875..4df22d037a 100644 --- a/tests/file/filetest.cpp +++ b/tests/file/filetest.cpp @@ -149,7 +149,7 @@ TEST_CASE("wxFile::Special", "[file][linux][special-file]") // for reading) and usually we don't have the permissions to do it. // This file is not seekable and has 0 size, but can still be read. - wxFile fileProc("/proc/diskstats"); + wxFile fileProc("/proc/cpuinfo"); CHECK( fileProc.IsOpened() ); wxString s; diff --git a/tests/textfile/textfiletest.cpp b/tests/textfile/textfiletest.cpp index d76cb1b244..57b3b5dc2a 100644 --- a/tests/textfile/textfiletest.cpp +++ b/tests/textfile/textfiletest.cpp @@ -347,7 +347,7 @@ TEST_CASE("wxTextFile::Special", "[textfile][linux][special-file]") SECTION("/proc") { wxTextFile f; - CHECK( f.Open("/proc/diskstats") ); + CHECK( f.Open("/proc/cpuinfo") ); CHECK( f.GetLineCount() > 1 ); }