mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-17 21:31:35 +01:00
fix wording in error messages for tests (11755)
This commit is contained in:
parent
ebc33dc0fb
commit
4e9967dcca
2 changed files with 7 additions and 3 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2000-06-05 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 11755: test/comptest: fix wording in error messages
|
||||||
|
|
||||||
2000-06-05 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
|
2000-06-05 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
|
||||||
|
|
||||||
* Config/version.mk: 3.1.9, already.
|
* Config/version.mk: 3.1.9, already.
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ comptestinit () {
|
||||||
zpty zsh "$comptest_zsh" -f
|
zpty zsh "$comptest_zsh" -f
|
||||||
|
|
||||||
zpty -r zsh log1 "*<PROMPT>*" || {
|
zpty -r zsh log1 "*<PROMPT>*" || {
|
||||||
print "first prompt doesn't appered."
|
print "first prompt hasn't appeared."
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -75,7 +75,7 @@ comptesteval () {
|
||||||
print -lr - "$@" > $tmp
|
print -lr - "$@" > $tmp
|
||||||
zpty -w zsh ". $tmp"
|
zpty -w zsh ". $tmp"
|
||||||
zpty -r zsh log_eval "*<PROMPT>*" || {
|
zpty -r zsh log_eval "*<PROMPT>*" || {
|
||||||
print "prompt doesn't appered."
|
print "prompt hasn't appeared."
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
rm $tmp
|
rm $tmp
|
||||||
|
|
@ -85,7 +85,7 @@ comptest () {
|
||||||
input="$*"
|
input="$*"
|
||||||
zpty -n -w zsh "$input"$'\C-Z'
|
zpty -n -w zsh "$input"$'\C-Z'
|
||||||
zpty -r zsh log "*<WIDGET><finish>*<PROMPT>*" || {
|
zpty -r zsh log "*<WIDGET><finish>*<PROMPT>*" || {
|
||||||
print "finish widget doesn't invoked."
|
print "failed to invoke finish widget."
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue