summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-62.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test: Rename testsuite-XX units to match test nameDaan De Meyer2024-05-141-56/+0
| | | | | | | Having these named differently than the test itself mostly creates unecessary confusion and makes writing logic against the tests harder so let's rename the testsuite-xx units and scripts to just use the test name itself.
* test: use sd-analyze for kernel version check in TEST-62Luca Boccassi2024-04-251-9/+1
|
* test: Always exit with 77 if we skip a testDaan De Meyer2024-04-031-2/+2
| | | | | | | | | Prep work for running the integration tests with meson, which requires tests to exit with 77 to indicate they are skipped. Note this only deals with the easy cases where there's only tests. The hard ones where there's subtests of which only some are skipped are left for another PR.
* core: allow interface altnames in RestrictNetworkInterfaces=networkException2023-12-181-0/+1
| | | | | | | | This patch enables IFNAME_VALID_ALTERNATIVE for checks guarding the parsing of RestrictNetworkInterfaces=. The underlying implementation for this option already supports altnames.
* test: unify /testok & /failed handlingFrantisek Sumsal2023-07-121-3/+1
| | | | And drop it where not necessary.
* test: make shellcheck happy againFrantisek Sumsal2023-05-161-2/+2
| | | | No functional changes.
* test: drop whitespace after shell redirection operatorsZbigniew Jędrzejewski-Szmek2023-02-061-1/+1
| | | | | | | | | | (The one case that is left unchanged is '< <(subcommand)'.) This way, the style with no gap was already dominant. This way, the reader immediately knows that ' < ' is a comparison operator and ' << ' is a shift. In a few cases, replace custom EOF replacement by just EOF. There is no point in using someting like "_EOL" unless "EOF" appears in the text.
* test: don't flush debug logs to the consoleFrantisek Sumsal2022-06-171-1/+0
| | | | | | | | | Let's keep the debug logs in the journal, while logging only testsute-*.sh stdout/stderr to the console (ba7abf7). This should make the test output log a bit more readable and potentially the tests itself a bit faster by avoiding console oversaturation. Also, it should significantly reduce the size of artifacts kept by CIs.
* test: fix grepping fixed string starts from hyphenYu Watanabe2021-12-111-1/+1
| | | | | | Follow-up for 85445fba22b2f81853a3f018ed1f28864cef37fc. Fixes #21718.
* test: addresses shell check warningYu Watanabe2021-12-101-1/+1
| | | | | | | | | | | This fixes the following warning: ----- In /github/workspace/test/units/testsuite-62.sh line 39: KERNEL_MINOR="${KERNEL_VERSION#$KERNEL_MAJOR.}" ^-----------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns. Did you mean: KERNEL_MINOR="${KERNEL_VERSION#"$KERNEL_MAJOR".}"
* test: skip TEST-62 if bpf-framework is not supportedYu Watanabe2021-12-101-0/+5
| | | | Fixes #21718.
* tests: add spdx headers to scripts and MakefilesZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
|
* test: shellcheck-ify test scriptsFrantisek Sumsal2021-09-301-14/+14
|
* tests: add integration test for RestrictNetworkInterfaces=Mauricio Vásquez2021-08-191-0/+60
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>