From: Peter van Dijk Date: Mon, 14 Jul 2025 11:48:49 +0000 (+0200) Subject: datefudge: more portable date parsing X-Git-Tag: rec-5.4.0-alpha0~38^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3eca92214123e229154667b7d9104fa3f0637ce;p=thirdparty%2Fpdns.git datefudge: more portable date parsing --- diff --git a/regression-tests.nobackend/soa-edit/command b/regression-tests.nobackend/soa-edit/command index 5d616a235f..e77acf73a4 100755 --- a/regression-tests.nobackend/soa-edit/command +++ b/regression-tests.nobackend/soa-edit/command @@ -31,7 +31,7 @@ rm -f soa-edit/bind-dnssec.db $PDNSUTIL --config-dir=soa-edit create-bind-db soa-edit/bind-dnssec.db $PDNSUTIL --config-dir soa-edit/ set-meta minimal.com SOA-EDIT INCREMENT-WEEKS # Wed Dec 17 23:59:50 2014 UTC -datefudge "$(date -d@1418860790)" $PDNS --config-dir=soa-edit & +datefudge "$(LC_ALL=C date -d@1418860790)" $PDNS --config-dir=soa-edit & bindwait $SDIG 127.0.0.1 $port minimal.com SOA | LC_ALL=C sort