mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
generator: add TestRunOrUnsupported test type
Create a new TestRunOrUnsupported test type, which represents a test sequence where a failure with ENOTSUP in the last command only marks the test as skipped. To be used mainly when testing features available only with some versions of helper tools used in the appliance, for example.
This commit is contained in:
@@ -266,7 +266,8 @@ let seq_of_test = function
|
||||
| TestResultDevice (s, _)
|
||||
| TestResultTrue s
|
||||
| TestResultFalse s
|
||||
| TestLastFail s -> s
|
||||
| TestLastFail s
|
||||
| TestRunOrUnsupported s -> s
|
||||
|
||||
let c_quote str =
|
||||
let str = replace_str str "\\" "\\\\" in
|
||||
|
||||
Reference in New Issue
Block a user