(testsuite) assert_exec() default test title grammar fix.
This commit is contained in:
parent
1fe72c982e
commit
51a772f99f
@ -397,7 +397,7 @@ proc assert_env_unmodified {{sed ""} {file ""} {diff ""}} {
|
||||
# @param string $test (optional) Test title
|
||||
# @see assert_bash_exec()
|
||||
proc assert_exec {cmd {stdout ''} {test ''}} {
|
||||
if {$test == ""} {set test "$cmd should execute successful"}
|
||||
if {$test == ""} {set test "$cmd should execute successfully"}
|
||||
upvar $stdout results
|
||||
set status [catch {eval exec $cmd} results]
|
||||
if {$status == 0} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user