Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
New Test Failure
- X-seq: zsh-workers 20598
- From: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: New Test Failure
- Date: Tue, 30 Nov 2004 08:48:52 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Teradyne, Inc
It looks like the $(##) change broke something:
cd Test ; make check
make[1]: Entering directory `/u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test'
if test -n "cc"; then \
cd .. && DESTDIR= \
make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test/Modules
mkdir /u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test/Modules/zsh
mkdir /u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test/Modules/zsh/net
for f in /u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01*.ztst; do \
ZTST_exe=../Src/zsh \
../Src/zsh +Z -f /u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/ztst.zsh $f; \
done
/u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01arith.ztst: starting.
ZTST_getsect: read section name: test
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
integer light there
ZTST_getchunk: read code chunk:
integer light there
(( light = 42 )) &&
let 'there = light' &&
print $(( there ))
ZTST_test: examining line:
>42
ZTST_getredir: read redir for '>':
42
ZTST_test: examining line:
Running test: basic integer arithmetic
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
42
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
float light there
ZTST_getchunk: read code chunk:
float light there
integer rnd
(( light = 3.1415 )) &&
let 'there = light' &&
print -- $(( rnd = there * 10000 ))
ZTST_test: examining line:
>31415.
ZTST_getredir: read redir for '>':
31415.
ZTST_test: examining line:
Running test: basic floating point arithmetic
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
31415.
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
print $(( 0x10 + 0X01 + 2#1010 ))
ZTST_getchunk: read code chunk:
print $(( 0x10 + 0X01 + 2#1010 ))
ZTST_test: examining line:
>27
ZTST_getredir: read redir for '>':
27
ZTST_test: examining line:
Running test: base input
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
27
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
float light
ZTST_getchunk: read code chunk:
float light
(( light = 4 ))
print $light
typeset -F light
print $light
ZTST_test: examining line:
>4.000000000e+00
ZTST_getredir: read redir for '>':
4.000000000e+00
4.0000000000
ZTST_test: examining line:
Running test: conversion to float
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
4.000000000e+00
4.0000000000
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
integer i
ZTST_getchunk: read code chunk:
integer i
(( i = 32.5 ))
print $i
ZTST_test: examining line:
>32
ZTST_getredir: read redir for '>':
32
ZTST_test: examining line:
Running test: conversion to int
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
32
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
integer i
ZTST_getchunk: read code chunk:
integer i
(( i = 4 - - 3 * 7 << 1 & 7 ^ 1 | 16 ** 2 ))
print $i
ZTST_test: examining line:
>1591
ZTST_getredir: read redir for '>':
1591
ZTST_test: examining line:
Running test: precedence (arithmetic)
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
1591
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
print $(( 1 < 2 || 2 < 2 && 3 > 4 ))
ZTST_getchunk: read code chunk:
print $(( 1 < 2 || 2 < 2 && 3 > 4 ))
ZTST_test: examining line:
>1
ZTST_getredir: read redir for '>':
1
ZTST_test: examining line:
Running test: precedence (logical)
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
1
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
print $(( 1 + 4 ? 3 + 2 ? 4 + 3 ? 5 + 6 ? 4 * 8 : 0 : 0 : 0 : 0 ))
ZTST_getchunk: read code chunk:
print $(( 1 + 4 ? 3 + 2 ? 4 + 3 ? 5 + 6 ? 4 * 8 : 0 : 0 : 0 : 0 ))
ZTST_test: examining line:
>32
ZTST_getredir: read redir for '>':
32
ZTST_test: examining line:
Running test: precedence (ternary)
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
32
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
print $(( 3 ? 2 ))
ZTST_getchunk: read code chunk:
print $(( 3 ? 2 ))
ZTST_test: examining line:
?(eval):1: ':' expected
ZTST_getredir: read redir for '?':
(eval):1: ':' expected
ZTST_test: examining line:
Running test: parsing ternary (1)
ZTST_test: expecting status: 1
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 1
ZTST_test: test produced standard output:
ZTST_test: and standard error:
(eval):1: ':' expected
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
print $(( 3 ? 2 : 1 : 4 ))
ZTST_getchunk: read code chunk:
print $(( 3 ? 2 : 1 : 4 ))
ZTST_test: examining line:
?(eval):1: ':' without '?'
ZTST_getredir: read redir for '?':
(eval):1: ':' without '?'
ZTST_test: examining line:
Running test: parsing ternary (2)
ZTST_test: expecting status: 1
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 1
ZTST_test: test produced standard output:
ZTST_test: and standard error:
(eval):1: ':' without '?'
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
print $(( 0, 4 ? 3 : 1, 5 ))
ZTST_getchunk: read code chunk:
print $(( 0, 4 ? 3 : 1, 5 ))
ZTST_test: examining line:
>5
ZTST_getredir: read redir for '>':
5
ZTST_test: examining line:
Running test: comma operator
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
5
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
foo=000
ZTST_getchunk: read code chunk:
foo=000
print $(( ##A + ##\C-a + #foo + $#foo ))
ZTST_test: examining line:
>117
ZTST_getredir: read redir for '>':
117
ZTST_test: examining line:
Running test: #, ## and $#
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
117
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
print $((##))
ZTST_getchunk: read code chunk:
print $((##))
ZTST_test: examining line:
>0
ZTST_getredir: read redir for '>':
0
ZTST_test: examining line:
Running test: ## without following character
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.5429, output: /tmp/zsh.ztst.out.5429, error: /tmp/zsh.ztst.terr.5429
ZTST_execchunk: status 1
Test /u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01arith.ztst failed: bad status 1, expected 0 from:
print $((##))
Error output:
(eval):1: character missing after ##
Was testing: ## without following character
/u/sheltonv/software/SunOS-5.8/src/zsh-2004-11-30/Test/C01arith.ztst: test failed.
make[1]: [check] Error 1 (ignored)
rm -rf Modules .zcompdump
make[1]: Leaving directory `/u/sheltonv/software/SunOS-5.8/build/zsh-2004-11-30/Test'
HTH,
Vin
--
In a minute there is time
For decisions and revisions which a minute will reverse. T.S. Eliot
[URL: http://www.cs.amherst.edu/~ccm/prufrock.html]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author