File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tools/testing/selftests/bpf/prog_tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -394,11 +394,11 @@ static void run_subflow(void)
394
394
socklen_t len ;
395
395
396
396
server_fd = start_mptcp_server (AF_INET , ADDR_1 , PORT_1 , 0 );
397
- if (!ASSERT_GE (server_fd , 0 , "start_mptcp_server" ))
397
+ if (!ASSERT_OK_FD (server_fd , "start_mptcp_server" ))
398
398
return ;
399
399
400
400
client_fd = connect_to_fd (server_fd , 0 );
401
- if (!ASSERT_GE (client_fd , 0 , "connect to fd " ))
401
+ if (!ASSERT_OK_FD (client_fd , "connect_to_fd " ))
402
402
goto close_server ;
403
403
404
404
send_byte (client_fd );
@@ -429,7 +429,7 @@ static void test_subflow(void)
429
429
struct bpf_link * link ;
430
430
431
431
cgroup_fd = test__join_cgroup ("/mptcp_subflow" );
432
- if (!ASSERT_GE (cgroup_fd , 0 , "join_cgroup: mptcp_subflow" ))
432
+ if (!ASSERT_OK_FD (cgroup_fd , "join_cgroup: mptcp_subflow" ))
433
433
return ;
434
434
435
435
skel = mptcp_subflow__open_and_load ();
You can’t perform that action at this time.
0 commit comments