mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
More parse_options tests. Make --opt yes have value "yes" instead of "1". Change ok() to cmd_ok() in test-bash-functions. Mimic Perl modulue headers in Bash libs so update-modules will work with the latter.
This commit is contained in:
@@ -128,9 +128,9 @@ is() {
|
||||
result $?
|
||||
}
|
||||
|
||||
ok() {
|
||||
cmd_ok() {
|
||||
local test_command=$1
|
||||
$test_command
|
||||
eval $test_command
|
||||
result $?
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user