summaryrefslogtreecommitdiff
path: root/tests/sys_stat_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-03-08 15:20:23 -0800
committerElliott Hughes <enh@google.com>2019-03-12 10:26:39 -0700
commitbcaa454d32e1b4ccf92467bb263d627695ac9a5b (patch)
tree65d7d4c493242ecb51bfe1796f133b32538de514 /tests/sys_stat_test.cpp
parentff16c0b89b7297bc70353f60afac9bb93d6b0087 (diff)
bionic tests: use GTEST_SKIP.
Also be a bit more to the point in our messages, focusing on "why" not "what". Test: ran tests Change-Id: I297806c7a102bd52602dcd2fcf7a2cd34aba3a11
Diffstat (limited to 'tests/sys_stat_test.cpp')
-rw-r--r--tests/sys_stat_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sys_stat_test.cpp b/tests/sys_stat_test.cpp
index 70ad45151..97bf58026 100644
--- a/tests/sys_stat_test.cpp
+++ b/tests/sys_stat_test.cpp
@@ -82,7 +82,7 @@ TEST(sys_stat, mkfifo) {
unlink(path.c_str());
} else {
// SELinux policy forbids us from creating FIFOs. http://b/17646702.
- GTEST_LOG_(INFO) << "This test only performs a test when run as root.";
+ GTEST_SKIP() << "SELinux policy forbids non-root from creating FIFOs";
}
}