Bläddra i källkod

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

Denis Vlasenko 17 år sedan
förälder
incheckning
7de0d7394e
2 ändrade filer med 9 tillägg och 0 borttagningar
  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;