Browse Source

Document the reason why ether tests in testsuite may fail.
No code changes.

Denis Vlasenko 16 years ago
parent
commit
7de0d7394e
2 changed files with 9 additions and 0 deletions
  1. 4 0
      test/inet/tst-ethers-line.c
  2. 5 0
      test/inet/tst-ethers.c

+ 4 - 0
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;

+ 5 - 0
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;