summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/kernel.config/pstore_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kernel.config/pstore_test.cpp b/tests/kernel.config/pstore_test.cpp
index 1dd5e728..29b8dff6 100644
--- a/tests/kernel.config/pstore_test.cpp
+++ b/tests/kernel.config/pstore_test.cpp
@@ -23,7 +23,8 @@ TEST(kernel_config, CONFIG_PSTORE) {
}
TEST(kernel_config, CONFIG_PSTORE_CONSOLE) {
- EXPECT_EQ(0, access("/sys/fs/pstore/console-ramoops", F_OK));
+ EXPECT_TRUE(!access("/sys/fs/pstore/console-ramoops-0", F_OK) ^
+ !access("/sys/fs/pstore/console-ramoops", F_OK));
}
TEST(kernel_config, CONFIG_PSTORE_PMSG) {