We can't rely on file /sys/power/state always existing, so just skip the test (with a warning) instead of failing it if it does not exist, as is the case at least under s390x and seemingly other non-desktop platforms. Closes #24197. Co-authored-by: Cliff Zhao <qzhao@suse.com> |
||
|---|---|---|
| .. | ||
| dir.cpp | ||
| filefn.cpp | ||
| filetest.cpp | ||