summaryrefslogtreecommitdiff
path: root/testsuite/hostname
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-18 15:19:41 +0200
committerDenys Vlasenko2009-07-18 15:19:41 +0200
commitb71ce023e9527b6afaa497ce62ca53a74cf94cef (patch)
tree0d7c880b8a73f1f56897bcddd1d88b6517aa07ae /testsuite/hostname
parentf8e6b6eccbae6ae386820f95d123f8a641f753d4 (diff)
downloadbusybox-b71ce023e9527b6afaa497ce62ca53a74cf94cef.zip
busybox-b71ce023e9527b6afaa497ce62ca53a74cf94cef.tar.gz
add SKIP_KNOWN_BUGS and SKIP_INTERNET_TESTS to testsuite
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/hostname')
-rw-r--r--testsuite/hostname/hostname-i-works9
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/hostname/hostname-i-works b/testsuite/hostname/hostname-i-works
index 68a3e67..7299bff 100644
--- a/testsuite/hostname/hostname-i-works
+++ b/testsuite/hostname/hostname-i-works
@@ -1,2 +1,9 @@
-test x$(hostname -i) = x$(busybox hostname -i)
+test x"$SKIP_KNOWN_BUGS" != x"" && exit
+
+# Observed bug:
+# # ./busybox hostname -i
+# 127.0.0.1
+# # hostname -i
+# 127.0.0.1 10.0.0.2 10.32.10.45
+test x$(hostname -i) = x$(busybox hostname -i)