passt/test/lib
David Gibson ca0c33ae5b Tweak dhclient arguments for readability
A number of tests and examples use dhclient in both IPv4 and IPv6 modes.
We use "dhclient -6" for IPv6, but usually just "dhclient" for IPv4.  Add
an explicit "-4" argument to make it more clear and explicit.

In addition, when dhclient is run from within pasta it usually won't be
"real" root, and so will not have access to write the default global pid
file.  This results in a mostly harmless but irritating error:
    Can't create /var/run/dhclient.pid: Permission denied
We can avoid that by using the --no-pid flag to dhclient.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-06-15 09:38:10 +02:00
..
layout test: Add demo for Podman with pasta 2022-02-22 18:34:44 +01:00
perf_report test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00
setup Tweak dhclient arguments for readability 2022-06-15 09:38:10 +02:00
term tests: Don't check exit code for every command in demo mode 2022-05-19 15:24:22 +02:00
test tests: Don't count number of test units for demos 2022-05-19 15:24:19 +02:00
util test: Drop debugging left-overs in lib/util 2021-10-14 13:15:12 +02:00
video test/lib: Consistent cols, rows, poster attributes for asciinema player 2022-04-07 11:44:35 +02:00