storage: Skip tests that involve loopback device in a container
- Insider a container, it is not possible to use loopback devices without additional permissions. Skips tests that need loopback devices. This will results in fewer errors when running './container run-tests'.
Tests:
-
Run './container run-tests --pytest-args plinth/modules/stroage/test_storage.py'. Notice that all tests are either skipped or succeed.
-
Run the tests on host machine and they all run without skipping.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org
Merge request reports
Activity
added 1 commit
- b8999415 - storage: Skip tests that involve loopback device in a container
mentioned in issue #2032 (closed)
Please register or sign in to reply