We now don't have the support to delete netdevs and dependent upon iproute to delete. With this we can delete via networkctl and use in our test cases too.
Note that it supports deleting multiple links at once.
sudo ./networkctl delete test1 test2 test3 test4
9cd8c76661 networkctl: add support to delete virtual netdevs
man/networkctl.xml | 7 ++++++
src/network/networkctl.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)