aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_os_utils.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-13 17:57:31 -0500
committerJack Lloyd <[email protected]>2017-12-30 14:15:51 -0500
commit092114e11c27de26a53aefa08547cc0bc44717ca (patch)
tree38b26479b272cd6fa60deb2b995f0d116087b331 /src/tests/test_os_utils.cpp
parent2d3cee8b02a1823ef05eedbbd3e435131460635a (diff)
Test OS features by the feature vs the OS name
Diffstat (limited to 'src/tests/test_os_utils.cpp')
-rw-r--r--src/tests/test_os_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_os_utils.cpp b/src/tests/test_os_utils.cpp
index 6707e8960..1c159ca75 100644
--- a/src/tests/test_os_utils.cpp
+++ b/src/tests/test_os_utils.cpp
@@ -55,8 +55,8 @@ class OS_Utils_Tests final : public Test
result.test_eq("PID same across calls", static_cast<size_t>(pid1), static_cast<size_t>(pid2));
-#if defined(BOTAN_TARGET_OS_TYPE_IS_UNIKERNEL)
- result.test_eq("PID is zero on unikernel systems", pid1, 0);
+#if defined(BOTAN_TARGET_OS_IS_INCLUDEOS) || defined(BOTAN_TARGET_OS_IS_LLVM)
+ result.test_eq("PID is expected to be zero on this platform", pid1, 0);
#else
result.test_ne("PID is non-zero on systems with processes", pid1, 0);
#endif