diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-14 20:19:35 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2010-01-14 20:19:52 +0200 |
commit | 51a772f99f485cade1cf21e89c6c4026d8fc380d (patch) | |
tree | 3f02f109c6baca032ae15e9a6df59a4713819fcb | |
parent | 1fe72c982e7ea0e1cc9c8e83097696422444081e (diff) | |
download | bash-completion-51a772f99f485cade1cf21e89c6c4026d8fc380d.tar.gz |
(testsuite) assert_exec() default test title grammar fix.
-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} { |