summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2024-01-07 13:29:50 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2024-01-07 22:02:48 +0100
commit45b2bf0efc75c66fac05771ebc50649931457197 (patch)
treecb8091cb923f5fc15401340e1d1c7e8239ee81a8
parentresolve: NSCOUNT of DNS query may not be zero (diff)
downloadsystemd-45b2bf0efc75c66fac05771ebc50649931457197.tar.xz
systemd-45b2bf0efc75c66fac05771ebc50649931457197.zip
test: zone-check with --force to fail on warnings
-rwxr-xr-xtest/units/testsuite-75.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/units/testsuite-75.sh b/test/units/testsuite-75.sh
index 54234484c4..f3c27db7b4 100755
--- a/test/units/testsuite-75.sh
+++ b/test/units/testsuite-75.sh
@@ -254,10 +254,7 @@ resolvectl log-level debug
systemd-run -u resolvectl-monitor.service -p Type=notify resolvectl monitor
systemd-run -u resolvectl-monitor-json.service -p Type=notify resolvectl monitor --json=short
-# Check if all the zones are valid (zone-check always returns 0, so let's check
-# if it produces any errors/warnings)
-run knotc zone-check
-[[ ! -s "$RUN_OUT" ]]
+knotc --force zone-check
# We need to manually propagate the DS records of onlinesign.test. to the parent
# zone, since they're generated online
knotc zone-begin test.