Go to the source code of this file.
◆ test_capability
| Enumerator |
|---|
| TEST_CAP_FAULT_INJECT | |
| TEST_CAP_EA_SYS | |
◆ test_capability()
Probe a capability; the result is cached for the run.
- Parameters
-
| cap | the capability to probe |
| vol | supplies a filesystem path for capabilities probed against the volume (TEST_CAP_EA_SYS, TEST_CAP_FAULT_INJECT use vol->v_path for a scratch file); must not be NULL. |
- Returns
- 1 if the capability is available, 0 otherwise.
◆ test_capability_name()
Short capability name for skip/log messages.