summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-12-17 21:15:34 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-12-17 21:15:34 +0000
commit2ec2f1bc4bd67185c900202202bf02b63d2a2ec4 (patch)
tree17de197831aa336b4a6873a2e7d41684eb1d1d16 /regress/lib/libc
parentac836cfbe67d07e6ef610bb496dedd25ecbd6c9c (diff)
add test case for gethostbyname() called with numeric hostname
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/asr/regress.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc/asr/regress.sh b/regress/lib/libc/asr/regress.sh
index 513732c0688..6e41a90d122 100644
--- a/regress/lib/libc/asr/regress.sh
+++ b/regress/lib/libc/asr/regress.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: regress.sh,v 1.3 2012/09/05 21:23:36 eric Exp $
+# $OpenBSD: regress.sh,v 1.4 2012/12/17 21:15:33 eric Exp $
. regress.subr
@@ -99,6 +99,7 @@ for e in file bind local; do
test_gethostbyaddr $ADDRS
test_getaddrinfo NULL $WEIRD $BASIC $EXTRA
test_getnameinfo $ADDRS
+ test_gethostbyname $ADDRS
done
regress_digest