Add regression tests

This commit is contained in:
Ruihan Li
2025-04-20 18:48:49 +08:00
committed by Tate, Hongliang Tian
parent 26253829bb
commit 17e5108c17
3 changed files with 172 additions and 5 deletions

View File

@ -1,11 +1,7 @@
// SPDX-License-Identifier: MPL-2.0
#include <netlink/netlink.h>
#include <netlink/route/link.h>
#include <netlink/route/addr.h>
#include <net/if.h>
#include <stdio.h>
#include <stdlib.h>
#include <netlink/route/addr.h>
#include <unistd.h>
#include "test.h"
@ -223,5 +219,7 @@ FN_TEST(get_addr_error)
break;
}
}
TEST_SUCC(close(sock_fd));
}
END_TEST()