Эх сурвалжийг харах

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

Denis Vlasenko 17 жил өмнө
parent
commit
7de0d7394e

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