Commit f5822ce
committed
selftests: create /lib/firmware for firmware selftests
The first test which the firmware selftests runs assumes you
have /lib/firmware directory created as we want to mount /lib/firmware
onto tmpfs. This test was added via upstream Linux commit
901cff7cb9614 ("firmware_loader: load files from the mount namespace of
init"). The test will fail if the directory does not exist. We'll
send a fix for that, but in the meantime, ensure that kdevops
creates the directory for us on the target test node.
The test was failing because the directory does not exist, and it
gives the impression the test fails, but this is false positive,
the test needs improvement so to ensure the directory exists
before it tries to mount. I'll send a fix after this.
Signed-off-by: Luis Chamberlain <[email protected]>1 parent 01084fc commit f5822ce
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
86 | 98 | | |
87 | 99 | | |
88 | 100 | | |
| |||
0 commit comments