summaryrefslogtreecommitdiffstats
path: root/test/test-functions
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-08-16 18:48:50 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-08-16 19:11:15 +0200
commit08779d7c55add3a3bad5228d35012c15e92c47a5 (patch)
tree19058f1abf66c6576d8f29286d3de7a3e223720d /test/test-functions
parenttest: allow to skip matrix_run_one() if $TEST_MATCH_TESTCASE is set (diff)
downloadsystemd-08779d7c55add3a3bad5228d35012c15e92c47a5.tar.xz
systemd-08779d7c55add3a3bad5228d35012c15e92c47a5.zip
test: add test case that 'nspawn --network-veth' enables IP forwarding
Diffstat (limited to 'test/test-functions')
-rw-r--r--test/test-functions25
1 files changed, 23 insertions, 2 deletions
diff --git a/test/test-functions b/test/test-functions
index e41e5792a3..8f08d84ad8 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -1454,10 +1454,31 @@ install_missing_libraries() {
[[ -e "$libgcc_s" ]] && inst_library "$libgcc_s"
done < <(ldconfig -p | awk '/\/libgcc_s.so.1$/ { print $4 }')
- local lib path
+ local lib path libs
# A number of dependencies is now optional via dlopen, so the install
# script will not pick them up, since it looks at linkage.
- for lib in libcryptsetup libidn libidn2 pwquality libqrencode tss2-esys tss2-rc tss2-mu tss2-tcti-device libfido2 libbpf libelf libdw xkbcommon p11-kit-1 libarchive libgcrypt libkmod; do
+ libs=(
+ libarchive
+ libbpf
+ libcryptsetup
+ libdw
+ libelf
+ libfido2
+ libgcrypt
+ libidn
+ libidn2
+ libip4tc
+ libkmod
+ libqrencode
+ p11-kit-1
+ pwquality
+ tss2-esys
+ tss2-mu
+ tss2-rc
+ tss2-tcti-device
+ xkbcommon
+ )
+ for lib in "${libs[@]}"; do
ddebug "Searching for $lib via pkg-config"
if pkg-config --exists "$lib"; then
path="$(pkg-config --variable=libdir "$lib")"