summaryrefslogtreecommitdiffstats
path: root/test/test-network-generator-conversion.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* network-generator: use extract_first_word()Yu Watanabe2024-08-141-2/+2
| | | | Now, ip= with trailing colon is refused.
* network-generator: Add loggingDaan De Meyer2024-04-041-1/+1
| | | | | | We stick to debug logging because in some cases network-generator will fall back to trying another parsing function if one fails, so if we return an error it's not necessarily a failure.
* test: show error messages to stderrYu Watanabe2024-02-111-3/+3
| | | | Otherwise, 'meson test' hides the messages on failure.
* parse-util: accept arbitrary MTU size when AF_UNSPECYu Watanabe2023-12-081-1/+1
| | | | | | | | | When [Link] MTU= is specified in a .network file, we have no idea about that what kind of interface will be configured with the .network file. The maximum and minimum MTU size depend on the kind of interface. So, we should not filter MTU eagerly in the parser. Closes #30140.
* test: set working directory even if it is expected that the command failsYu Watanabe2023-11-081-1/+1
| | | | | | | Otherwise, parsing may unexpectedly succeeds but fail to run writing .network files with permission error. Follow-up for 6bc5de53e8410fdec817300185b7ad72cd7775dd.
* network-generator: refuse unexpected trailing stringsYu Watanabe2023-11-071-0/+3
|
* network-generator: allow to specify both IPv4 and IPv6 DNS serversYu Watanabe2023-11-071-0/+1
| | | | Follow-up for 923599523c10d8897551e081e6b00cd8002309c3.
* test: add a couple of tests for systemd-network-generatorFrantisek Sumsal2023-11-061-18/+292
| | | | Only for ip= stuff, for now.
* licensing: add forgotten spdx headersZbigniew Jędrzejewski-Szmek2021-10-011-0/+1
| | | | | Those are all "our" files, but we forgot to add the headers, most likely because of non-standard file extensions.
* test: shellcheck-ify test scriptsFrantisek Sumsal2021-09-301-2/+4
|
* tests: when creating temp dirs, include test name in pathZbigniew Jędrzejewski-Szmek2020-10-011-1/+1
| | | | | | This makes it easier to figure out which directory we want to look at when tests fail, and also which test left behind a directory when it shouldn't.
* test: convert TEST-35-NETWORK-GENERATOR into a unit testZbigniew Jędrzejewski-Szmek2020-03-281-0/+30