To run these tests, you need a PowerDNS Authoritative Server with bind,
gsqlite3, lmdb and random backends.
-You also will need to have 'faketime' installed.
+You also will need to have 'datefudge' installed.
rm -f soa-edit/bind-dnssec.db
-now=$(date +%s)
-delta=$((now-1418860790)) # Wed Dec 17 23:59:50 2014 UTC
-
$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
-faketime -m -f -$delta $PDNS --config-dir=soa-edit &
+# Wed Dec 17 23:59:50 2014 UTC
+datefudge "$(date -d@1418860790)" $PDNS --config-dir=soa-edit &
bindwait
$SDIG 127.0.0.1 $port minimal.com SOA | LC_ALL=C sort