Commit a70eb0aa authored by Kenton Varda's avatar Kenton Varda

Skip test that fails under qemu-user, probably due to a qemu bug.

parent cf34b937
......@@ -336,6 +336,11 @@ TEST(AsyncIo, ScmRightsTruncatedOdd) {
KJ_ASSERT(n == 0);
}
#if !__aarch64__
// This test fails under qemu-user, probably due to a bug in qemu's syscall emulation rather than
// a bug in the kernel. We don't have a good way to detect qemu so we just skip the test on aarch64
// in general.
TEST(AsyncIo, ScmRightsTruncatedEven) {
// Test that if we send three FDs over a unix socket, but the receiving end only receives two, we
// don't leak the third FD. This is different from the send-two-receive-one case in that
......@@ -421,7 +426,10 @@ TEST(AsyncIo, ScmRightsTruncatedEven) {
}
KJ_ASSERT(n == 0);
}
#endif
#endif // !__aarch64__
#endif // !_WIN32 && !__CYGWIN__
TEST(AsyncIo, PipeThread) {
auto ioContext = setupAsyncIo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment