Commit ceafafd
fabrics: extend hostnqn/hostid variable inject interface
In order to test none existing hostnqn/hostid files, extend the
environment variable interface. When it is set but it's an empty string
just return NULL which means no file found.
Signed-off-by: Daniel Wagner <[email protected]>1 parent b88897f commit ceafafd
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
1405 | | - | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
1406 | 1408 | | |
| 1409 | + | |
1407 | 1410 | | |
1408 | 1411 | | |
1409 | 1412 | | |
| |||
1412 | 1415 | | |
1413 | 1416 | | |
1414 | 1417 | | |
1415 | | - | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
1416 | 1421 | | |
| 1422 | + | |
1417 | 1423 | | |
1418 | 1424 | | |
1419 | 1425 | | |
| |||
0 commit comments