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-06 20:45:17 +08:00
parent b7ab719528
commit 9706d85fe9
18 changed files with 192 additions and 0 deletions

View File

@@ -0,0 +1 @@
0xffffffffffffffff

View File

@@ -0,0 +1 @@
127

View File

@@ -0,0 +1 @@
0x2000001b3289da4e

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
0x2100001b3289da4e

View File

@@ -0,0 +1 @@
Linkdown

View File

@@ -0,0 +1 @@
0x2001000dec9877c1

View File

@@ -0,0 +1 @@
127

View File

@@ -0,0 +1 @@
0x2001001b32a9da4e

View File

@@ -0,0 +1 @@
0

View File

@@ -0,0 +1 @@
0x2101001b32a9da4e

View File

@@ -0,0 +1 @@
Online