Ville Skyttä eefc69d83b lvm: Use _parse_usage in several tools.
Also adjust test cases to not fail if --help doesn't succeed, at least
it doesn't for me if run as non-root.
2011-05-16 18:57:43 +03:00

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