aboutsummaryrefslogtreecommitdiff
path: root/testdata/root_anchor.tdir/root_anchor.pre
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/root_anchor.tdir/root_anchor.pre')
-rw-r--r--testdata/root_anchor.tdir/root_anchor.pre11
1 files changed, 11 insertions, 0 deletions
diff --git a/testdata/root_anchor.tdir/root_anchor.pre b/testdata/root_anchor.tdir/root_anchor.pre
new file mode 100644
index 000000000000..0357646cdd5a
--- /dev/null
+++ b/testdata/root_anchor.tdir/root_anchor.pre
@@ -0,0 +1,11 @@
+# source the master var file when it's there
+[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
+# use .tpkg.var.test for in test variable passing
+[ -f .tpkg.var.test ] && source .tpkg.var.test
+
+# only do this test if the network is up.
+if dig @k.root-servers.net . SOA 2>&1 | grep NOERROR ; then
+ :
+else
+ skip_test "network is not up"
+fi