Commit 45b16fa
committed
Add further unit tests for check rootfs format of bunnyfile
Add further unit tests for checking the unsupported features that a
rootfs field implies in a bunnyfile.
In particular add the following tests:
- Non-empty path with raw rootfs type, which means that we specify both
a file to use as rootfs but also set the type as raw, which will
require to unpack the file and transform it to raw. This is not
supported yet.
- The from field equals "local" and the rootfs type is raw, which means
that we have to use something local as raw, which is similar to the
previous case (use a file with raw rootfs type). Again not supported
yet.
- The from field is not scratch and we the include field is non-empty,
which means that we want to append files in an existing rootds. This
is not supported yet.
Signed-off-by: Charalampos Mainas <cmainas@nubificus.co.uk>1 parent 8a569b1 commit 45b16fa
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
169 | 187 | | |
170 | 188 | | |
171 | 189 | | |
| |||
0 commit comments