summaryrefslogtreecommitdiff
path: root/libgo/go/net/hosts_testdata
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/hosts_testdata')
-rw-r--r--libgo/go/net/hosts_testdata12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/net/hosts_testdata b/libgo/go/net/hosts_testdata
new file mode 100644
index 000000000..b60176389
--- /dev/null
+++ b/libgo/go/net/hosts_testdata
@@ -0,0 +1,12 @@
+255.255.255.255 broadcasthost
+127.0.0.2 odin
+127.0.0.3 odin # inline comment
+::2 odin
+127.1.1.1 thor
+# aliases
+127.1.1.2 ullr ullrhost
+# Bogus entries that must be ignored.
+123.123.123 loki
+321.321.321.321
+# TODO(yvesj): Should we be able to parse this? From a Darwin system.
+fe80::1%lo0 localhost