monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone: 3096debd5eb65c2fdfa9300903


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: 3096debd5eb65c2fdfa9300903f6f68d8258ad17
Date: Sat, 26 Feb 2011 14:08:36 +0100 (CET)

revision:            3096debd5eb65c2fdfa9300903f6f68d8258ad17
date:                2011-02-26T13:08:13
author:              Richard Levitte <address@hidden>
branch:              net.venge.monotone
changelog:
* test/extra/bash_completion/library.exp: Give the bash startup much more
  time to start up (the simple reason is that it may take time loading
  the bash_completiong package - which is done by bashrc - especially
  when there are many files to load, and it may take even more time on a
  loaded machine), and make sure we do get a prompt.

manifest:
format_version "1"

new_manifest [c74e651d64a82dfd47f81ee8afc4cf1a3002f223]

old_revision [fc7f14c4e20b451cea25a056288efd4e1f9a11b7]

patch "test/extra/bash_completion/library.exp"
 from [1785f08fc97cacfd1ec382191e3d86268125adca]
   to [a3cb018a5b7e49e0ee4934693334214e69063d3a]
============================================================
--- test/extra/bash_completion/library.exp	1785f08fc97cacfd1ec382191e3d86268125adca
+++ test/extra/bash_completion/library.exp	a3cb018a5b7e49e0ee4934693334214e69063d3a
@@ -18,11 +18,14 @@ spawn "bash" "--init-file" "/dev/nul" "-
 # some user's ~/.bash_profile start xserver etc; don't do that
 spawn "bash" "--init-file" "/dev/nul" "--rcfile" "$srcdir/extra/bash_completion/bashrc"
 # If there is no completion package, it's no point trying this.
+# Make sure we do get a prompt.
 expect {
-    -timeout 1
+    -timeout 20
     "No bash completion package present." {
 	failure "No bash completion package present."; exit
     }
+    -re "@ $"
+    timeout { failure "no prompt"; exit }
 }
 send ". $initial_dir/extra/shell/monotone.bash_completion\n"
 # Wait for the last line to be echoed

reply via email to

[Prev in Thread] Current Thread [Next in Thread]