diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-06-02 21:10:08 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-06-05 16:50:13 +0200 |
commit | 70bdf6e661f67dfbfd6a198f7d1ebc6fdf0dce62 (patch) | |
tree | 87f5fc76ee5da8bfac09ad464f30ddafec89cd40 /test/TEST-75-RESOLVED | |
parent | test: fix indentation (diff) | |
download | systemd-70bdf6e661f67dfbfd6a198f7d1ebc6fdf0dce62.tar.xz systemd-70bdf6e661f67dfbfd6a198f7d1ebc6fdf0dce62.zip |
test: introduce test_require_bin() and use it
No functional change.
Diffstat (limited to 'test/TEST-75-RESOLVED')
-rwxr-xr-x | test/TEST-75-RESOLVED/test.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/TEST-75-RESOLVED/test.sh b/test/TEST-75-RESOLVED/test.sh index 6c63db65fb..cbb9e3dbbf 100755 --- a/test/TEST-75-RESOLVED/test.sh +++ b/test/TEST-75-RESOLVED/test.sh @@ -9,10 +9,7 @@ NSPAWN_ARGUMENTS="--private-network" # shellcheck source=test/test-functions . "${TEST_BASE_DIR:?}/test-functions" -if ! command -v knotd >/dev/null; then - echo "This test requires Knot DNS server, skipping..." - exit 0 -fi +test_require_bin knotd # We need at least Knot 3.0 which support (among others) the ds-push directive if ! knotc -c "${TEST_BASE_DIR:?}/knot-data/knot.conf" conf-check; then |