summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/socket_ip_udp_loopback_blocking.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/socket_ip_udp_loopback_blocking.cc')
-rw-r--r--test/syscalls/linux/socket_ip_udp_loopback_blocking.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/syscalls/linux/socket_ip_udp_loopback_blocking.cc b/test/syscalls/linux/socket_ip_udp_loopback_blocking.cc
index 08ff3e656..1224ffe03 100644
--- a/test/syscalls/linux/socket_ip_udp_loopback_blocking.cc
+++ b/test/syscalls/linux/socket_ip_udp_loopback_blocking.cc
@@ -23,13 +23,10 @@ namespace gvisor {
namespace testing {
std::vector<SocketPairKind> GetSocketPairs() {
- return VecCat<SocketPairKind>(
- ApplyVec<SocketPairKind>(
- IPv6UDPBidirectionalBindSocketPair,
- AllBitwiseCombinations(List<int>{0, SOCK_CLOEXEC})),
- ApplyVec<SocketPairKind>(
- IPv4UDPBidirectionalBindSocketPair,
- AllBitwiseCombinations(List<int>{0, SOCK_CLOEXEC})));
+ return {
+ IPv6UDPBidirectionalBindSocketPair(0),
+ IPv4UDPBidirectionalBindSocketPair(0),
+ };
}
INSTANTIATE_TEST_CASE_P(