diff options
-rw-r--r-- | test/lib/library.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/library.exp b/test/lib/library.exp index fe8d7e22..1da3aaf1 100644 --- a/test/lib/library.exp +++ b/test/lib/library.exp @@ -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} { |