[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 453a55e9c8da9e03fbb735946bacd51fefd36380

Freddy Vulto fvulto at gmail.com
Fri Oct 2 11:58:57 UTC 2009


essage exceeded 40K, so here's an excerpt:

(testsuite) Fix assert_bash_exec to match prompt
Added documentation to "Testing" chapter:
- Running tests via cron
- Specifying bash binary

--- test/lib/library.exp -----------------------------
index 10d4dda..4ca6b96 100644
@@ -31,7 +31,7 @@ proc assert_bash_exec {{aCmd ""} {title ""} {prompt
/@} {out -1}} {
         # Remove $prompt suffix from output
     set results [
         string range $results 0 [
-            expr [string length $results] - [string length "/@"] - 1
+            expr [string length $results] - [string length $prompt] - 1
         ]
     ]
     if {$out == -1 && [string length $results] > 0} {



More information about the Bash-completion-commits mailing list