]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: zone-set requires TTL for the first record in the rrset 24566/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 5 Sep 2022 15:28:04 +0000 (17:28 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 5 Sep 2022 15:42:52 +0000 (17:42 +0200)
I'm not sure why this worked previously.

test/units/testsuite-75.sh

index 81a2ab37d0325ad36c1281ec8437a149c9bdc41c..5158536f4989c09d46c7436f752eea51bfed11f5 100755 (executable)
@@ -87,7 +87,7 @@ if knotc zone-get test. onlinesign.test. ds | grep .; then
 fi
 # Propagate the new DS records
 while read -ra line; do
-    knotc zone-set test. "${line[@]}"
+    knotc zone-set test. "${line[0]}" 600 "${line[@]:1}"
 done < <(keymgr onlinesign.test. ds)
 knotc zone-commit test.