From da57ddb7c8435c78a072c4d07672d6f68f2c6680 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Tue, 18 Mar 2014 09:57:47 -0700 Subject: 32497: avoid using comptesteval in the middle of a series of tests The change in control required for sourcing the command file can confuse the simulated interactive input --- Test/comptest | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Test/comptest') diff --git a/Test/comptest b/Test/comptest index 48b6cdfea..4655f3b2b 100644 --- a/Test/comptest +++ b/Test/comptest @@ -102,6 +102,14 @@ zpty_flush() { fi } +zpty_run() { + zpty -w zsh "$*" + zpty -r -m zsh log "**" || { + print "prompt hasn't appeared." + return 1 + } +} + comptesteval () { local tmp=/tmp/comptest.$$ -- cgit 1.4.1