git: d22c5c42e8ad - main - Skip if_wg regression tests if module doesn't exist
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Feb 2023 23:10:18 UTC
The branch main has been updated by olivier (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d22c5c42e8ad1ad07a206e0e8d06c53326c12fd4 commit d22c5c42e8ad1ad07a206e0e8d06c53326c12fd4 Author: Olivier Cochard <olivier@FreeBSD.org> AuthorDate: 2023-02-06 23:06:48 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2023-02-06 23:06:48 +0000 Skip if_wg regression tests if module doesn't exist Approved by: jhb Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D38406 --- tests/sys/net/if_wg.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/sys/net/if_wg.sh b/tests/sys/net/if_wg.sh index 6946fb72524a..1612e05ef168 100644 --- a/tests/sys/net/if_wg.sh +++ b/tests/sys/net/if_wg.sh @@ -42,7 +42,7 @@ wg_basic_body() local epair pri1 pri2 pub1 pub2 wg1 wg2 local endpoint1 endpoint2 tunnel1 tunnel2 - kldload -n if_wg + kldload -n if_wg || atf_skip "This test requires if_wg and could not load it" pri1=$(wg genkey) pri2=$(wg genkey) @@ -111,7 +111,7 @@ wg_key_peerdev_shared_body() local epair pri1 pub1 wg1 local endpoint1 tunnel1 - kldload -n if_wg + kldload -n if_wg || atf_skip "This test requires if_wg and could not load it" pri1=$(wg genkey) @@ -152,7 +152,7 @@ wg_key_peerdev_makeshared_body() local epair pri1 pub1 pri2 wg1 wg2 local endpoint1 tunnel1 - kldload -n if_wg + kldload -n if_wg || atf_skip "This test requires if_wg and could not load it" pri1=$(wg genkey) pri2=$(wg genkey)