diff options
| author | Hangbin Liu <[email protected]> | 2023-12-02 02:00:59 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-12-05 12:00:56 +0000 |
| commit | 7f770d28f2e5abfd442ad689ba1129dd66593529 (patch) | |
| tree | 0b45c8704f8ae5ef65efb446362cc14265be7525 /tools/net/ynl/generated/netdev-user.c | |
| parent | selftests/net: convert arp_ndisc_evict_nocarrier.sh to run it in unique names... (diff) | |
| download | kernel-7f770d28f2e5abfd442ad689ba1129dd66593529.tar.gz kernel-7f770d28f2e5abfd442ad689ba1129dd66593529.zip | |
selftests/net: specify the interface when do arping
When do arping, the interface need to be specified. Or we will
get error: Interface "lo" is not ARPable. And the test failed.
]# ./arp_ndisc_untracked_subnets.sh
TEST: test_arp: accept_arp=0 [ OK ]
TEST: test_arp: accept_arp=1 [FAIL]
TEST: test_arp: accept_arp=2 same_subnet=0 [ OK ]
TEST: test_arp: accept_arp=2 same_subnet=1 [FAIL]
After fix:
]# ./arp_ndisc_untracked_subnets.sh
TEST: test_arp: accept_arp=0 [ OK ]
TEST: test_arp: accept_arp=1 [ OK ]
TEST: test_arp: accept_arp=2 same_subnet=0 [ OK ]
TEST: test_arp: accept_arp=2 same_subnet=1 [ OK ]
Fixes: 0ea7b0a454ca ("selftests: net: arp_ndisc_untracked_subnets: test for arp_accept and accept_untracked_na")
Signed-off-by: Hangbin Liu <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions
