eefc69d83b
Also adjust test cases to not fail if --help doesn't succeed, at least it doesn't for me if run as non-root.
23 lines
237 B
Plaintext
23 lines
237 B
Plaintext
proc setup {} {
|
|
save_env
|
|
}
|
|
|
|
|
|
proc teardown {} {
|
|
assert_env_unmodified
|
|
}
|
|
|
|
|
|
setup
|
|
|
|
|
|
if {[assert_exec {lvreduce --help} "" "" "untested"]} { # may fail as non-root
|
|
assert_complete_any "lvreduce --"
|
|
}
|
|
|
|
|
|
sync_after_int
|
|
|
|
|
|
teardown
|