summaryrefslogtreecommitdiff
path: root/test/inet
diff options
context:
space:
mode:
Diffstat (limited to 'test/inet')
-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;