tests: Add tests for fc_host

Since the NPIV machine is not easy to get, it's very likely to
introduce regressions when doing changes on the existing code.
This patch dumps part of the sysfs files (the necessary ones)
of fc_host as test input data, to test the related util functions.
It could be extended for more fc_host related testing in future.
This commit is contained in:
Osier Yang
2013-05-13 17:24:18 +08:00
parent b7ab719528
commit 9706d85fe9
18 changed files with 192 additions and 0 deletions
@@ -0,0 +1 @@
0xffffffffffffffff
@@ -0,0 +1 @@
127
+1
View File
@@ -0,0 +1 @@
0x2000001b3289da4e
@@ -0,0 +1 @@
0
+1
View File
@@ -0,0 +1 @@
0x2100001b3289da4e
@@ -0,0 +1 @@
Linkdown
@@ -0,0 +1 @@
0x2001000dec9877c1
@@ -0,0 +1 @@
127
+1
View File
@@ -0,0 +1 @@
0x2001001b32a9da4e
@@ -0,0 +1 @@
0
+1
View File
@@ -0,0 +1 @@
0x2101001b32a9da4e
@@ -0,0 +1 @@
Online