]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-architecture.c
tree-wide: use IN_SET macro (#6977)
[thirdparty/systemd.git] / src / test / test-architecture.c
index f41e488d9950a7b33ec25ce216d9b6fed8801b8f..68975b790a24279938178a45fc592f6e924eac4a 100644 (file)
@@ -26,7 +26,7 @@ int main(int argc, char *argv[]) {
         int a, v;
 
         v = detect_virtualization();
-        if (v == -EPERM || v == -EACCES)
+        if (IN_SET(v, -EPERM, -EACCES))
                 return EXIT_TEST_SKIP;
 
         assert_se(v >= 0);