summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 08:05:50 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 08:05:50 +0000
commit7de0d7394e2058a039fd124aaaf987fb717fb6ca (patch)
treedb3338d6b1795f97ad02f264a0e787420b79d29b
parentd8dcde4b2345b1c685a1086d4423f0a262930c3f (diff)
Document the reason why ether tests in testsuite may fail.
No code changes.
-rw-r--r--test/inet/tst-ethers-line.c4
-rw-r--r--test/inet/tst-ethers.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/test/inet/tst-ethers-line.c b/test/inet/tst-ethers-line.c
index c6e70e811..3b3387455 100644
--- a/test/inet/tst-ethers-line.c
+++ b/test/inet/tst-ethers-line.c
@@ -13,6 +13,10 @@
#define ETHER_LINE_LEN 256
+/* This test requires /etc/ethers to exist
+ * and to have nonzero length
+ */
+
int main(void)
{
struct ether_addr addr;
diff --git a/test/inet/tst-ethers.c b/test/inet/tst-ethers.c
index eb6280c3f..14b5a4378 100644
--- a/test/inet/tst-ethers.c
+++ b/test/inet/tst-ethers.c
@@ -3,6 +3,11 @@
#define ETHER_LINE_LEN 256
+/* This test requires /etc/ethers to exist
+ * and to have host "teeth". For example:
+ * 00:11:22:33:44:55 teeth
+ */
+
int main(void)
{
struct ether_addr addr;