]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: zone-check with --force to fail on warnings
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 7 Jan 2024 12:29:50 +0000 (13:29 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 7 Jan 2024 21:02:48 +0000 (22:02 +0100)
test/units/testsuite-75.sh

index 54234484c460bb680b834c12eecf791a98f34927..f3c27db7b4f63deccd0c6c6fe069978e36cff61e 100755 (executable)
@@ -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.