diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-01 15:38:25 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-01 15:38:25 +0000 |
commit | 3622c3ea7d6d84dc5bd2c94ea95b739670ca1614 (patch) | |
tree | eaa702a4a38ba261afa37b68201b383870a7d5c6 | |
parent | e6b92471a9cc2cc5502a39d98c5a48b2cafa54be (diff) | |
download | zsh-3622c3ea7d6d84dc5bd2c94ea95b739670ca1614.tar.gz zsh-3622c3ea7d6d84dc5bd2c94ea95b739670ca1614.tar.xz zsh-3622c3ea7d6d84dc5bd2c94ea95b739670ca1614.zip |
zsh-workers/9957
-rw-r--r-- | Test/.distfiles | 4 | ||||
-rw-r--r-- | Test/comptest | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Test/.distfiles b/Test/.distfiles index bea0dd621..e1f135037 100644 --- a/Test/.distfiles +++ b/Test/.distfiles @@ -1,7 +1,7 @@ DISTFILES_SRC=' .cvsignore .distfiles Makefile.in - ztst.zsh + ztst.zsh comptest 01grammar.ztst 02alias.ztst 03quoting.ztst 04redirect.ztst 05command.ztst 06arith.ztst 07cond.ztst 08traps.ztst 09funcdef.ztst - 10prompt.ztst 50cd.ztst 51xtrace.ztst + 10prompt.ztst 50cd.ztst 51xtrace.ztst 52zregexparse.ztst 53completion.ztst ' diff --git a/Test/comptest b/Test/comptest index 7ea665c26..e8f1ffef6 100644 --- a/Test/comptest +++ b/Test/comptest @@ -7,6 +7,7 @@ debug= dump=(-D) code= zsh=${ZSH:-zsh} +termcap_ce="$(echotc ce)" while getopts Dd:c:z: opt; do case $opt in @@ -91,7 +92,7 @@ for log in "$logs[@]"; do log="${log[$mend[1]+1,-1]}" if (( 0 <= $mbegin[2] )); then if [[ $match[2] != TC && $match[3] != \ # ]]; then - print -lr "$match[2]:{$match[3]}" + print -lr "$match[2]:{${match[3]%$termcap_ce}}" fi elif (( 0 <= $mbegin[4] )); then print -lr "DESCRIPTION:{$match[4]}" |