From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 20 21:28:52 2016 Received: (at submit) by debbugs.gnu.org; 21 Jan 2016 02:28:52 +0000 Received: from localhost ([127.0.0.1]:55684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aM4zS-0003TP-G6 for submit@debbugs.gnu.org; Wed, 20 Jan 2016 21:28:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53173) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aM4zN-0003St-G2 for submit@debbugs.gnu.org; Wed, 20 Jan 2016 21:28:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aM4zC-0004F0-Rg for submit@debbugs.gnu.org; Wed, 20 Jan 2016 21:28:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aM4zC-0004Es-Mo for submit@debbugs.gnu.org; Wed, 20 Jan 2016 21:28:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aM4z7-0003B1-3Y for bug-guix@gnu.org; Wed, 20 Jan 2016 21:28:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aM4z1-00046m-Af for bug-guix@gnu.org; Wed, 20 Jan 2016 21:28:29 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aM4z1-000463-55 for bug-guix@gnu.org; Wed, 20 Jan 2016 21:28:23 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D0FA5200B7; Wed, 20 Jan 2016 21:28:21 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Wed, 20 Jan 2016 21:28:21 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=i7uoarl7Z0Hx7/cpltIplME//3U =; b=l34I10uP13acmuj5A6mxfEDuSKY3iTTqRUVU8/XnOIYsbvmsXvJs+MeF/TB KcTX5FqERd8FAfYJXJcLs0zNpbVLbPN4xJ7SwtvOwHi9XgbAhEMilI5CdraObp6T 1sNyFjHUN62WMWfMY8armBGESZHCGMsbdqhhAcQaMAR4ETLk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=i7 uoarl7Z0Hx7/cpltIplME//3U=; b=f9MC0xXHNKXMEuHb0IFuV5yGhIWAWZp9L1 ztiguxuqOKeF3Omf+4orLCC+xPVyvo2h+Xp1awXEMAKRMdJH+znfyt/+OEmgV+QA bh0XU8OQECQuP6v8ul4He4VSbhu8F6C4z8hTiWO2qJvQXvkMtEjj0VnKEIsdtiP8 jz2f1vfmw= X-Sasl-enc: +AMGbl9t1VhsBL3INjmjZXgnzhY4k5FsozwN3k7qRycH 1453343301 Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 32FE568019E for ; Wed, 20 Jan 2016 21:28:21 -0500 (EST) Date: Wed, 20 Jan 2016 21:21:20 -0500 From: Leo Famulari To: bug-guix@gnu.org Subject: Zsh test failure Message-ID: <20160121022120.GA19231@jasmine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Zsh fails to build due to a test failure on my system (x86_64). The test suite does not report where the failure occurs but I believe it is in section 'Test/B02typeset.ztst' as a result of patch-shebang failing to find a binary interpreter for 'Test/ztst.zsh': patch-shebang: ./Test/ztst.zsh: warning: no binary for interpreter `zsh' found in $PATH I wonder if this means that the file is being interpreted by Bash, or maybe the 'sh' mode of Bash. At the conclusion of the test suite: ************************************** 44 successful test scripts, 1 failure, 0 skipped ************************************** Makefile:189: recipe for target 'check' failed make[1]: *** [check] Error 1 make[1]: Leaving directory '/tmp/guix-build-zsh-5.1.1.drv-0/zsh-5.1.1/Test' Makefile:265: recipe for target 'check' failed make: *** [check] Error 2 phase `check' failed after 30.2 seconds Here is the verbose output of the test section B02, up to where section B03 begins. I created the verbose output by setting the make-flag "ZTST_verbose=2". Normally, before a new section begins, the previous section reports its success. That does not happen in this case: ./B02typeset.ztst: starting. ZTST_getsect: read section name: prep ZTST_getchunk: read code chunk: mkdir typeset.tmp && cd typeset.tmp ZTST_execchunk: status 0 ZTST_getchunk: read code chunk: setopt noglob ZTST_execchunk: status 0 ZTST_getchunk: read code chunk: scalar=scalar array=(a r r a y) ZTST_execchunk: status 0 ZTST_getchunk: read code chunk: scope00() { typeset scalar scalar=local typeset -a array array=(l o c a l) print $scalar $array } scope01() { local scalar scalar=local local -a array array=(l o c a l) print $scalar $array } scope02() { declare scalar scalar=local declare -a array array=(l o c a l) print $scalar $array } scope10() { export outer=outer /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $outer' } scope11() { typeset -x outer=outer /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $outer' } scope12() { local -x outer=inner /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $outer' } scope13() { local -xT OUTER outer outer=(i n n e r) /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $OUTER' } ZTST_execchunk: status 0 ZTST_getchunk: read code chunk: # Bug? `typeset -h' complains that ! # $ * - ? @ are not identifiers. stress00() { typeset -h +g -m [[:alpha:]_]* unset -m [[:alpha:]_]* typeset +m [[:alpha:]_]* } ZTST_execchunk: status 0 ZTST_getchunk: read code chunk: ZTST_getsect: read section name: test ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset +m scalar array ZTST_getchunk: read code chunk: typeset +m scalar array ZTST_test: examining line: >scalar ZTST_getredir: read redir for '>': scalar array array ZTST_test: examining line: Running test: Report types of parameters with typeset +m ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: scalar array array ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: scope00 ZTST_getchunk: read code chunk: scope00 print $scalar $array ZTST_test: examining line: >local l o c a l ZTST_getredir: read redir for '>': local l o c a l scalar a r r a y ZTST_test: examining line: Running test: Simple local declarations ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: local l o c a l scalar a r r a y ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: scope01 ZTST_getchunk: read code chunk: scope01 print $scalar $array ZTST_test: examining line: >local l o c a l ZTST_getredir: read redir for '>': local l o c a l scalar a r r a y ZTST_test: examining line: Running test: Equivalence of local and typeset in functions ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: local l o c a l scalar a r r a y ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: scope02 ZTST_getchunk: read code chunk: scope02 print $scalar $array ZTST_test: examining line: >local l o c a l ZTST_getredir: read redir for '>': local l o c a l scalar a r r a y ZTST_test: examining line: Running test: Basic equivalence of declare and typeset ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: local l o c a l scalar a r r a y ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: declare +m scalar ZTST_getchunk: read code chunk: declare +m scalar ZTST_test: examining line: >scalar ZTST_getredir: read redir for '>': scalar ZTST_test: examining line: Running test: declare previously lacked -m/+m options ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: scalar ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: scope10 ZTST_getchunk: read code chunk: scope10 print $outer ZTST_test: examining line: >outer ZTST_getredir: read redir for '>': outer outer ZTST_test: examining line: Running test: Global export ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: outer outer ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: scope11 ZTST_getchunk: read code chunk: scope11 print $outer ZTST_test: examining line: >outer ZTST_getredir: read redir for '>': outer outer ZTST_test: examining line: Running test: Equivalence of export and typeset -x ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: outer outer ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: scope12 ZTST_getchunk: read code chunk: scope12 print $outer ZTST_test: examining line: >inner ZTST_getredir: read redir for '>': inner outer ZTST_test: examining line: Running test: Local export ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: inner outer ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: float f=3.14159 ZTST_getchunk: read code chunk: float f=3.14159 typeset +m f float -E3 f print $f float -F f print $f ZTST_test: examining line: >float local f ZTST_getredir: read redir for '>': float local f 3.14e+00 3.142 ZTST_test: examining line: Running test: Floating point, adding a precision, and fixed point ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: float local f 3.14e+00 3.142 ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: integer i=3.141 ZTST_getchunk: read code chunk: integer i=3.141 typeset +m i integer -i2 i print $i ZTST_test: examining line: >integer local i ZTST_getredir: read redir for '>': integer local i 2#11 ZTST_test: examining line: Running test: Integer and changing the base ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: integer local i 2#11 ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: float -E3 f=3.141 ZTST_getchunk: read code chunk: float -E3 f=3.141 typeset +m f integer -i2 f typeset +m f print $f ZTST_test: examining line: >float local f ZTST_getredir: read redir for '>': float local f integer 2 local f 2#11 ZTST_test: examining line: Running test: Conversion of floating point to integer ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: float local f integer 2 local f 2#11 ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -f ZTST_getchunk: read code chunk: typeset -f ZTST_test: examining line: >$(functions) ZTST_getredir: read redir for '>': $(functions) ZTST_test: examining line: Running test: Equivalence of functions and typeset -f ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: ZTST_cleanup () { cd $ZTST_testdir rm -rf $ZTST_testdir/dummy.tmp $ZTST_testdir/*.tmp(N) ${TMPPREFIX}.ztst*$$(N) } ZTST_diff () { emulate -L zsh setopt extendedglob local diff_out integer diff_pat diff_ret case $1 in (p) diff_pat=1 ;; (d) ;; (*) print "Bad ZTST_diff code: d for diff, p for pattern match" ;; esac shift if (( diff_pat )) then local -a diff_lines1 diff_lines2 integer failed i diff_lines1=("${(f)$(<$argv[-2])}") diff_lines2=("${(f)$(<$argv[-1])}") if (( ${#diff_lines1} != ${#diff_lines2} )) then failed=1 else for ((i = 1; i <= ${#diff_lines1}; i++ )) do if [[ ${diff_lines2[i]} != ${~diff_lines1[i]} ]] then failed=1 break fi done fi if (( failed )) then print -rl "Pattern match failed:" \<${^diff_lines1} \>${^diff_lines2} diff_ret=1 fi else diff_out=$(diff "$@") diff_ret="$?" if [[ "$diff_ret" != "0" ]] then print -r "$diff_out" fi fi return "$diff_ret" } ZTST_execchunk () { setopt localloops options=($ZTST_testopts) () { unsetopt localloops eval "$ZTST_code" } ZTST_status=$? ZTST_testopts=(${(kv)options[*]}) options=(${ZTST_mainopts[*]}) ZTST_verbose 2 "ZTST_execchunk: status $ZTST_status" return $ZTST_status } ZTST_getchunk () { ZTST_code='' while [[ $ZTST_curline = [[:blank:]]# ]] do ZTST_getline || break done while [[ $ZTST_curline = [[:blank:]]##[^[:blank:]]* ]] do ZTST_code="${ZTST_code:+${ZTST_code} }${ZTST_curline}" ZTST_getline || break done ZTST_verbose 2 "ZTST_getchunk: read code chunk: $ZTST_code" [[ -n $ZTST_code ]] } ZTST_getline () { local IFS= while true do read -u $ZTST_input -r ZTST_curline || return 1 [[ $ZTST_curline = \#* ]] || return 0 done } ZTST_getredir () { local char=${ZTST_curline[1]} fn ZTST_redir=${ZTST_curline[2,-1]} while ZTST_getline do [[ $ZTST_curline[1] = $char ]] || break ZTST_redir="${ZTST_redir} ${ZTST_curline[2,-1]}" done ZTST_verbose 2 "ZTST_getredir: read redir for '$char': $ZTST_redir" case $char in ('<') fn=$ZTST_in ;; ('>') fn=$ZTST_out ;; ('?') fn=$ZTST_err ;; (*) ZTST_testfailed "bad redir operator: $char" return 1 ;; esac if [[ $ZTST_flags = *q* && $char = '<' ]] then print -r -- "${(e)ZTST_redir}" >> $fn else print -r -- "$ZTST_redir" >> $fn fi return 0 } ZTST_getsect () { local match mbegin mend while [[ $ZTST_curline != '%'(#b)([[:alnum:]]##)* ]] do ZTST_getline || return 1 [[ $ZTST_curline = [[:blank:]]# ]] && continue if [[ $# -eq 0 && $ZTST_curline != '%'[[:alnum:]]##* ]] then ZTST_testfailed "bad line found before or after section: $ZTST_curline" exit 1 fi done ZTST_getline ZTST_cursect=${match[1]} ZTST_verbose 2 "ZTST_getsect: read section name: $ZTST_cursect" return 0 } ZTST_hashmark () { if [[ ZTST_verbose -le 0 && -t $ZTST_fd ]] then print -n -u$ZTST_fd -- ${(pl:SECONDS::\#::\#\r:)} fi (( SECONDS > COLUMNS+1 && (SECONDS -= COLUMNS) )) } ZTST_prepclean () { while ZTST_getchunk do ZTST_execchunk > /dev/null || [[ -n $1 ]] || { [[ -n "$ZTST_unimplemented" ]] || ZTST_testfailed "non-zero status from preparation code: $ZTST_code" && return 0 } done } ZTST_test () { local last match mbegin mend found substlines local diff_out diff_err local ZTST_skip while true do rm -f $ZTST_in $ZTST_out $ZTST_err touch $ZTST_in $ZTST_out $ZTST_err ZTST_message='' ZTST_failmsg='' found=0 diff_out=d diff_err=d ZTST_verbose 2 "ZTST_test: looking for new test" while true do ZTST_verbose 2 "ZTST_test: examining line: $ZTST_curline" case $ZTST_curline in (%*) if [[ $found = 0 ]] then break 2 else last=1 break fi ;; ([[:space:]]#) if [[ $found = 0 ]] then ZTST_getline || break 2 continue else break fi ;; ([[:space:]]##[^[:space:]]*) ZTST_getchunk if [[ $ZTST_curline = (#b)([-0-9]##)([[:alpha:]]#)(:*)# ]] then ZTST_xstatus=$match[1] ZTST_flags=$match[2] ZTST_message=${match[3]:+${match[3][2,-1]}} else ZTST_testfailed "expecting test status at: $ZTST_curline" return 1 fi ZTST_getline found=1 ;; ('<'*) ZTST_getredir || return 1 found=1 ;; ('*>'*) ZTST_curline=${ZTST_curline[2,-1]} diff_out=p ;& ('>'*) ZTST_getredir || return 1 found=1 ;; ('*?'*) ZTST_curline=${ZTST_curline[2,-1]} diff_err=p ;& ('?'*) ZTST_getredir || return 1 found=1 ;; ('F:'*) ZTST_failmsg="${ZTST_failmsg:+${ZTST_failmsg} } ${ZTST_curline[3,-1]}" ZTST_getline found=1 ;; (*) ZTST_testfailed "bad line in test block: $ZTST_curline" return 1 ;; esac done if [[ -n $ZTST_code ]] then ZTST_hashmark ZTST_verbose 1 "Running test: $ZTST_message" ZTST_verbose 2 "ZTST_test: expecting status: $ZTST_xstatus" ZTST_verbose 2 "Input: $ZTST_in, output: $ZTST_out, error: $ZTST_terr" ZTST_execchunk < $ZTST_in > $ZTST_tout 2> $ZTST_terr if [[ -n $ZTST_skip ]] then ZTST_verbose 0 "Test case skipped: $ZTST_skip" ZTST_skip= if [[ -n $last ]] then break else continue fi fi if [[ $ZTST_xstatus != - && $ZTST_xstatus != $ZTST_status ]] then ZTST_testfailed "bad status $ZTST_status, expected $ZTST_xstatus from: $ZTST_code${$(<$ZTST_terr):+ Error output: $(<$ZTST_terr)}" return 1 fi ZTST_verbose 2 "ZTST_test: test produced standard output: $(<$ZTST_tout) ZTST_test: and standard error: $(<$ZTST_terr)" if [[ $ZTST_flags = *q* && -s $ZTST_out ]] then substlines="$(<$ZTST_out)" rm -rf $ZTST_out print -r -- "${(e)substlines}" > $ZTST_out fi if [[ $ZTST_flags != *d* ]] && ! ZTST_diff $diff_out -c $ZTST_out $ZTST_tout then ZTST_testfailed "output differs from expected as shown above for: $ZTST_code${$(<$ZTST_terr):+ Error output: $(<$ZTST_terr)}" return 1 fi if [[ $ZTST_flags = *q* && -s $ZTST_err ]] then substlines="$(<$ZTST_err)" rm -rf $ZTST_err print -r -- "${(e)substlines}" > $ZTST_err fi if [[ $ZTST_flags != *D* ]] && ! ZTST_diff $diff_err -c $ZTST_err $ZTST_terr then ZTST_testfailed "error output differs from expected as shown above for: $ZTST_code" return 1 fi fi ZTST_verbose 1 "Test successful." [[ -n $last ]] && break done ZTST_verbose 2 "ZTST_test: all tests successful" ZTST_message='' } ZTST_testfailed () { print -r "Test $ZTST_testname failed: $1" if [[ -n $ZTST_message ]] then print -r "Was testing: $ZTST_message" fi print -r "$ZTST_testname: test failed." if [[ -n $ZTST_failmsg ]] then print -r "The following may (or may not) help identifying the cause: $ZTST_failmsg" fi ZTST_testfailed=1 return 1 } ZTST_verbose () { local lev=$1 shift if [[ -n $ZTST_verbose && $ZTST_verbose -ge $lev ]] then print -r -u $ZTST_fd -- $* fi } scope00 () { typeset scalar scalar=local typeset -a array array=(l o c a l) print $scalar $array } scope01 () { local scalar scalar=local local -a array array=(l o c a l) print $scalar $array } scope02 () { declare scalar scalar=local declare -a array array=(l o c a l) print $scalar $array } scope10 () { export outer=outer /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $outer' } scope11 () { typeset -x outer=outer /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $outer' } scope12 () { local -x outer=inner /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $outer' } scope13 () { local -xT OUTER outer outer=(i n n e r) /gnu/store/311nvir0pz1mhf0mgsmfrw00qfj7yq0j-bash-4.3.39/bin/sh -fc 'echo $OUTER' } stress00 () { typeset -h +g -m [[:alpha:]_]* unset -m [[:alpha:]_]* typeset +m [[:alpha:]_]* } tail () { emulate -L zsh if [[ -z $TAIL_SUPPORTS_MINUS_N ]] then local test test=$(echo "foo\nbar" | command tail -n 1 2>/dev/null) if [[ $test = bar ]] then TAIL_SUPPORTS_MINUS_N=1 else TAIL_SUPPORTS_MINUS_N=0 fi fi integer argi=${argv[(i)-<->]} if [[ $argi -le $# && $TAIL_SUPPORTS_MINUS_N = 1 ]] then argv[$argi]=(-n ${argv[$argi][2,-1]}) fi command tail "$argv[@]" } ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: readonly r=success ZTST_getchunk: read code chunk: readonly r=success print $r r=failure ZTST_test: examining line: >success ZTST_getredir: read redir for '>': success ZTST_test: examining line: ?(eval):3: read-only variable: r ZTST_getredir: read redir for '?': (eval):3: read-only variable: r ZTST_test: examining line: Running test: Readonly declaration ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: success ZTST_test: and standard error: (eval):3: read-only variable: r Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset r=success ZTST_getchunk: read code chunk: typeset r=success readonly r print $r r=failure ZTST_test: examining line: >success ZTST_getredir: read redir for '>': success ZTST_test: examining line: ?(eval):4: read-only variable: r ZTST_getredir: read redir for '?': (eval):4: read-only variable: r ZTST_test: examining line: Running test: Convert to readonly ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: success ZTST_test: and standard error: (eval):4: read-only variable: r Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -gU array ZTST_getchunk: read code chunk: typeset -gU array print $array ZTST_test: examining line: >a r y ZTST_getredir: read redir for '>': a r y ZTST_test: examining line: Running test: Uniquified arrays and non-local scope ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: a r y ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -T SCALAR=l:o:c:a:l array ZTST_getchunk: read code chunk: typeset -T SCALAR=l:o:c:a:l array print $array typeset -U SCALAR print $SCALAR $array ZTST_test: examining line: >l o c a l ZTST_getredir: read redir for '>': l o c a l l:o:c:a l o c a ZTST_test: examining line: Running test: Tied parameters and uniquified colon-arrays ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: l o c a l l:o:c:a l o c a ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: (setopt NO_multibyte cbases ZTST_getchunk: read code chunk: (setopt NO_multibyte cbases LC_ALL=C 2>/dev/null typeset -T SCALAR=$'l\x83o\x83c\x83a\x83l' array $'\x83' print $array typeset -U SCALAR for (( i = 1; i <= ${#SCALAR}; i++ )); do char=$SCALAR[i] print $(( [#16] #char )) done print $array) ZTST_test: examining line: >l o c a l ZTST_getredir: read redir for '>': l o c a l 0x6C 0x83 0x6F 0x83 0x63 0x83 0x61 l o c a ZTST_test: examining line: Running test: Tied parameters and uniquified arrays with meta-character as separator ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: l o c a l 0x6C 0x83 0x6F 0x83 0x63 0x83 0x61 l o c a ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -T SCALAR=$'l\000o\000c\000a\000l' array $'\000' ZTST_getchunk: read code chunk: typeset -T SCALAR=$'l\000o\000c\000a\000l' array $'\000' typeset -U SCALAR print $array [[ $SCALAR == $'l\000o\000c\000a' ]] ZTST_test: examining line: >l o c a ZTST_getredir: read redir for '>': l o c a ZTST_test: examining line: Running test: Tied parameters and uniquified arrays with NUL-character as separator ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: l o c a ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -T SCALAR array ZTST_getchunk: read code chunk: typeset -T SCALAR array typeset +T SCALAR ZTST_test: examining line: ?(eval):typeset:2: use unset to remove tied variables ZTST_getredir: read redir for '?': (eval):typeset:2: use unset to remove tied variables ZTST_test: examining line: Running test: Untying is prohibited ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: ZTST_test: and standard error: (eval):typeset:2: use unset to remove tied variables Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: OUTER=outer ZTST_getchunk: read code chunk: OUTER=outer scope13 print $OUTER ZTST_test: examining line: >i:n:n:e:r ZTST_getredir: read redir for '>': i:n:n:e:r outer ZTST_test: examining line: Running test: Export of tied parameters ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: i:n:n:e:r outer ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -TU MORESTUFF=here-we-go-go-again morestuff '-' ZTST_getchunk: read code chunk: typeset -TU MORESTUFF=here-we-go-go-again morestuff '-' print -l $morestuff ZTST_test: examining line: >here ZTST_getredir: read redir for '>': here we go again ZTST_test: examining line: Running test: Tied arrays with separator specified ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: here we go again ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -T THIS will not work ZTST_getchunk: read code chunk: typeset -T THIS will not work ZTST_test: examining line: ?(eval):typeset:1: too many arguments for -T ZTST_getredir: read redir for '?': (eval):typeset:1: too many arguments for -T ZTST_test: examining line: Running test: Tied array syntax ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: ZTST_test: and standard error: (eval):typeset:1: too many arguments for -T Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local array[2]=x ZTST_getchunk: read code chunk: local array[2]=x ZTST_test: examining line: ?(eval):local:1: array[2]: can't create local array elements ZTST_getredir: read redir for '?': (eval):local:1: array[2]: can't create local array elements ZTST_test: examining line: Running test: Illegal local array element assignment ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: ZTST_test: and standard error: (eval):local:1: array[2]: can't create local array elements Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local -a array ZTST_getchunk: read code chunk: local -a array typeset array[1]=a array[2]=b array[3]=c print $array ZTST_test: examining line: >a b c ZTST_getredir: read redir for '>': a b c ZTST_test: examining line: Running test: Legal local array element assignment ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: a b c ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local -A assoc ZTST_getchunk: read code chunk: local -A assoc local b=1 ;: to stomp assoc[1] if assoc[b] is broken typeset assoc[1]=a assoc[b]=2 assoc[3]=c print $assoc[1] $assoc[b] $assoc[3] ZTST_test: examining line: >a 2 c ZTST_getredir: read redir for '>': a 2 c ZTST_test: examining line: Running test: Legal local associative array element assignment ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: a 2 c ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local scalar scalar[1]=a scalar[2]=b scalar[3]=c ZTST_getchunk: read code chunk: local scalar scalar[1]=a scalar[2]=b scalar[3]=c print $scalar ZTST_test: examining line: >abc ZTST_getredir: read redir for '>': abc ZTST_test: examining line: Running test: Local scalar subscript assignment ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: abc ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -L 10 fools ZTST_getchunk: read code chunk: typeset -L 10 fools for fools in " once" "twice" " thrice" " oops too long here"; do print "'$fools'" done ZTST_test: examining line: >'once ' ZTST_getredir: read redir for '>': 'once ' 'twice ' 'thrice ' 'oops too l' ZTST_test: examining line: Running test: Left justification of scalars ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: 'once ' 'twice ' 'thrice ' 'oops too l' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -L 10 -F 3 foolf ZTST_getchunk: read code chunk: typeset -L 10 -F 3 foolf for foolf in 1.3 4.6 -2.987 -4.91031; do print "'$foolf'" done ZTST_test: examining line: >'1.300 ' ZTST_getredir: read redir for '>': '1.300 ' '4.600 ' '-2.987 ' '-4.910 ' ZTST_test: examining line: Running test: Left justification of floating point ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '1.300 ' '4.600 ' '-2.987 ' '-4.910 ' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -L 10 -Z foolzs ZTST_getchunk: read code chunk: typeset -L 10 -Z foolzs for foolzs in 001.3 04.6 -2.987 -04.91231; do print "'$foolzs'" done ZTST_test: examining line: >'1.3 ' ZTST_getredir: read redir for '>': '1.3 ' '4.6 ' '-2.987 ' '-04.91231 ' ZTST_test: examining line: Running test: Left justification of scalars with zero suppression ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '1.3 ' '4.6 ' '-2.987 ' '-04.91231 ' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -R 10 foors ZTST_getchunk: read code chunk: typeset -R 10 foors for foors in short longer even-longer; do print "'$foors'" done ZTST_test: examining line: >' short' ZTST_getredir: read redir for '>': ' short' ' longer' 'ven-longer' ZTST_test: examining line: Running test: Right justification of scalars ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: ' short' ' longer' 'ven-longer' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -Z 10 foozs ZTST_getchunk: read code chunk: typeset -Z 10 foozs for foozs in 42 -42 " 43" " -43"; do print "'$foozs'" done ZTST_test: examining line: >'0000000042' ZTST_getredir: read redir for '>': '0000000042' ' -42' ' 000000043' ' -43' ZTST_test: examining line: Running test: Right justification of scalars with zeroes ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '0000000042' ' -42' ' 000000043' ' -43' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: integer -Z 10 foozi ZTST_getchunk: read code chunk: integer -Z 10 foozi for foozi in 42 -42 " 43" " -43"; do print "'$foozi'" done ZTST_test: examining line: >'0000000042' ZTST_getredir: read redir for '>': '0000000042' '-000000042' '0000000043' '-000000043' ZTST_test: examining line: Running test: Right justification of integers with zero, no initial base ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '0000000042' '-000000042' '0000000043' '-000000043' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: unsetopt cbases ZTST_getchunk: read code chunk: unsetopt cbases integer -Z 10 -i 16 foozi16 for foozi16 in 42 -42 " 43" " -43"; do print "'$foozi16'" done ZTST_test: examining line: >'16#000002A' ZTST_getredir: read redir for '>': '16#000002A' '-16#00002A' '16#000002B' '-16#00002B' ZTST_test: examining line: Running test: Right justification of integers with zero, base 16, C_BASES off ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '16#000002A' '-16#00002A' '16#000002B' '-16#00002B' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: setopt cbases ZTST_getchunk: read code chunk: setopt cbases integer -Z 10 -i 16 foozi16c for foozi16c in 42 -42 " 43" " -43"; do print "'$foozi16c'" done ZTST_test: examining line: >'0x0000002A' ZTST_getredir: read redir for '>': '0x0000002A' '-0x000002A' '0x0000002B' '-0x000002B' ZTST_test: examining line: Running test: Right justification of integers with zero, base 16, C_BASES on ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '0x0000002A' '-0x000002A' '0x0000002B' '-0x000002B' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: setopt cbases ZTST_getchunk: read code chunk: setopt cbases integer -Z 10 -i 16 foozi16c for foozi16c in 0x1234 -0x1234; do for (( i = 1; i <= 5; i++ )); do print "'${foozi16c[i,11-i]}'" done print "'${foozi16c[-2]}'" done ZTST_test: examining line: >'0x00001234' ZTST_getredir: read redir for '>': '0x00001234' 'x0000123' '000012' '0001' '00' '3' '-0x0001234' '0x000123' 'x00012' '0001' '00' '3' ZTST_test: examining line: Running test: Extracting substrings from padded integers ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '0x00001234' 'x0000123' '000012' '0001' '00' '3' '-0x0001234' '0x000123' 'x00012' '0001' '00' '3' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -F 3 -Z 10 foozf ZTST_getchunk: read code chunk: typeset -F 3 -Z 10 foozf for foozf in 3.14159 -3.14159 4 -4; do print "'$foozf'" done ZTST_test: examining line: >'000003.142' ZTST_getredir: read redir for '>': '000003.142' '-00003.142' '000004.000' '-00004.000' ZTST_test: examining line: Running test: Right justification of fixed point numbers with zero ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: '000003.142' '-00003.142' '000004.000' '-00004.000' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: stress00 ZTST_getchunk: read code chunk: stress00 print $scalar $array ZTST_test: examining line: >scalar a r y ZTST_getredir: read redir for '>': scalar a r y ZTST_test: examining line: Running test: Stress test: all parameters are local and unset, using -m ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: scalar a r y ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local parentenv=preserved ZTST_getchunk: read code chunk: local parentenv=preserved fn() { typeset -h +g -m \* unset -m \* integer i=9 float -H f=9 declare -t scalar declare -H -a array typeset typeset + } fn echo $parentenv ZTST_test: examining line: >array local array ZTST_getredir: read redir for '>': array local array float local f integer local i=9 local tagged scalar='' array local array float local f integer local i local tagged scalar preserved ZTST_test: examining line: Running test: Parameter hiding and tagging, printing types and values ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: array local array float local f integer local i=9 local tagged scalar='' array local array float local f integer local i local tagged scalar preserved ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: export ENVFOO=bar ZTST_getchunk: read code chunk: export ENVFOO=bar print ENVFOO in environment env | grep '^ENVFOO' print Changing ENVFOO ENVFOO="not bar any more" env | grep '^ENVFOO' unset ENVFOO print ENVFOO no longer in environment env | grep '^ENVFOO' ZTST_test: examining line: >ENVFOO in environment ZTST_getredir: read redir for '>': ENVFOO in environment ENVFOO=bar Changing ENVFOO ENVFOO=not bar any more ENVFOO no longer in environment ZTST_test: examining line: Running test: Adding and removing values to and from the environment ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: ENVFOO in environment ENVFOO=bar Changing ENVFOO ENVFOO=not bar any more ENVFOO no longer in environment ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: (export FOOENV=BAR ZTST_getchunk: read code chunk: (export FOOENV=BAR env | grep '^FOOENV' print Exec exec $ZTST_testdir/../Src/zsh -fc ' print Unset unset FOOENV env | grep "^FOOENV"') ZTST_test: examining line: >FOOENV=BAR ZTST_getredir: read redir for '>': FOOENV=BAR Exec Unset ZTST_test: examining line: Running test: Can unset environment variables after exec ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: FOOENV=BAR Exec Unset ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local case1=upper ZTST_getchunk: read code chunk: local case1=upper typeset -u case1 print $case1 upper="VALUE OF \$UPPER" print ${(P)case1} ZTST_test: examining line: >UPPER ZTST_getredir: read redir for '>': UPPER VALUE OF $UPPER ZTST_test: examining line: Running test: Upper case conversion, does not apply to values used internally ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: UPPER VALUE OF $UPPER ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local case2=LOWER ZTST_getchunk: read code chunk: local case2=LOWER typeset -l case2 print $case2 LOWER="value of \$lower" print ${(P)case2} ZTST_test: examining line: >lower ZTST_getredir: read redir for '>': lower value of $lower ZTST_test: examining line: Running test: Lower case conversion, does not apply to values used internally ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: lower value of $lower ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -a array ZTST_getchunk: read code chunk: typeset -a array array=(foo bar) fn() { typeset -p array nonexistent; } fn ZTST_test: examining line: >typeset -a array ZTST_getredir: read redir for '>': typeset -a array array=( foo bar ) ZTST_test: examining line: ?fn:typeset: no such variable: nonexistent ZTST_getredir: read redir for '?': fn:typeset: no such variable: nonexistent ZTST_test: examining line: Running test: declare -p shouldn't create scoped values ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: typeset -a array array=( foo bar ) ZTST_test: and standard error: fn:typeset: no such variable: nonexistent Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: unsetopt typesetsilent ZTST_getchunk: read code chunk: unsetopt typesetsilent silent1(){ typeset -g silence; } silent2(){ local silence; silent1; } silent2 ZTST_test: examining line: Running test: typeset -g should be silent even without TYPESET_SILENT ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: typeset -T TIED_SCALAR tied_array ZTST_getchunk: read code chunk: typeset -T TIED_SCALAR tied_array TIED_SCALAR=foo:bar print $tied_array typeset -T TIED_SCALAR=goo:car tied_array print $tied_array typeset -T TIED_SCALAR tied_array=(poo par) print $TIED_SCALAR ZTST_test: examining line: >foo bar ZTST_getredir: read redir for '>': foo bar goo car poo:par ZTST_test: examining line: Running test: retying arrays to same array works ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: foo bar goo car poo:par ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: ( ZTST_getchunk: read code chunk: ( setopt POSIXBUILTINS readonly pbro print ${+pbro} >&2 (typeset pbro=3) (pbro=4) readonly -p | grep pbro >&2 # shows up as "readonly" although unset typeset -r pbro # idempotent (no error)... print ${+pbro} >&2 # ...so still readonly... typeset +r pbro # ...can't turn it off ) ZTST_test: examining line: ?0 ZTST_getredir: read redir for '?': 0 (eval):5: read-only variable: pbro (eval):6: read-only variable: pbro typeset -r pbro 0 (eval):10: read-only variable: pbro ZTST_test: examining line: Running test: readonly with POSIX_BUILTINS ZTST_test: expecting status: 1 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 1 ZTST_test: test produced standard output: ZTST_test: and standard error: 0 (eval):5: read-only variable: pbro (eval):6: read-only variable: pbro typeset -r pbro 0 (eval):10: read-only variable: pbro Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: readonly foo=bar novalue ZTST_getchunk: read code chunk: readonly foo=bar novalue readonly -p ZTST_test: examining line: >typeset -r foo=bar ZTST_getredir: read redir for '>': typeset -r foo=bar typeset -r novalue='' ZTST_test: examining line: Running test: readonly -p output (no readonly specials) ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: typeset -r foo=bar typeset -r novalue='' ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: local -a a1 a2 ZTST_getchunk: read code chunk: local -a a1 a2 local -r r1=yes r2=no a1=(one two) a2=(three four) readonly a1 typeset -pm 'a[12]' typeset -pm 'r[12]' ZTST_test: examining line: >typeset -a a1 ZTST_getredir: read redir for '>': typeset -a a1 a1=( one two ) typeset -ar a1 typeset -a a2 a2=( three four ) typeset -r r1=yes typeset -r r2=no ZTST_test: examining line: Running test: readonly -p output ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: typeset -a a1 a1=( one two ) typeset -ar a1 typeset -a a2 a2=( three four ) typeset -r r1=yes typeset -r r2=no ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: one=hidden two=hidden three=hidden four=hidden five=hidden ZTST_getchunk: read code chunk: one=hidden two=hidden three=hidden four=hidden five=hidden fn() { local bleugh="four=vier" typeset -R10 one=eins two=(zwei dio) three $bleugh five=(cinq cinque) three=drei print -l $one $two $three $four $five } fn print -l $one $two $three $four $five ZTST_test: examining line: > eins ZTST_getredir: read redir for '>': eins zwei dio drei vier cinq cinque hidden hidden hidden hidden hidden ZTST_test: examining line: Running test: typeset reserved word interface: basic ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: eins zwei dio drei vier cinq cinque hidden hidden hidden hidden hidden ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: ( ZTST_getchunk: read code chunk: ( setopt glob mkdir -p arrayglob touch arrayglob/{one,two,three,four,five,six,seven} fn() { typeset array=(arrayglob/[tf]*) print -l ${array:t} # typeset {first,second,third}=the_same_value array=( extends over multiple lines ) print -l $first $second $third "$array" # integer i=$(echo 1 + 2 + 3 + 4) print $i # # only noted by accident this was broken.. # we need to turn off special recognition # of assignments within assignments... typeset careful=( i=1 j=2 k=3 ) print -l $careful } fn ) ZTST_test: examining line: >five ZTST_getredir: read redir for '>': five four three two the_same_value the_same_value the_same_value extends over multiple lines 10 i=1 j=2 k=3 ZTST_test: examining line: Running test: typeset reserved word, more complicated cases ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: five four three two the_same_value the_same_value the_same_value extends over multiple lines 10 i=1 j=2 k=3 ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: ( ZTST_getchunk: read code chunk: ( # reserved word is recognised at parsing. # yes, this is documented. # anyway, that means we need to # re-eval the function... fn=' fn() { typeset foo=`echo one word=two` print $foo print $word } ' print reserved eval $fn; fn print builtin disable -r typeset eval $fn; fn enable -r typeset disable typeset print reserved eval $fn; fn ) ZTST_test: examining line: >reserved ZTST_getredir: read redir for '>': reserved one word=two builtin one two reserved one word=two ZTST_test: examining line: Running test: reserved word and builtin interfaces ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: reserved one word=two builtin one two reserved one word=two ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: fn() { ZTST_getchunk: read code chunk: fn() { emulate -L zsh setopt typeset_silent local k typeset -A hash=(k1 v1 k2 v2) typeset foo=word array=(more than one word) for k in ${(ko)hash}; do print $k $hash[$k] done print -l $foo $array typeset -A hash typeset foo array for k in ${(ko)hash}; do print $k $hash[$k] done print -l $foo $array typeset hash=(k3 v3 k4 v4) array=(odd number here) for k in ${(ko)hash}; do print $k $hash[$k] done print -l $array } fn ZTST_test: examining line: >k1 v1 ZTST_getredir: read redir for '>': k1 v1 k2 v2 word more than one word k1 v1 k2 v2 word more than one word k3 v3 k4 v4 odd number here ZTST_test: examining line: Running test: typeset preserves existing variable types ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: k1 v1 k2 v2 word more than one word k1 v1 k2 v2 word more than one word k3 v3 k4 v4 odd number here ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: fn() { typeset foo bar thing=this stuff=(that other) more=woevva; } ZTST_getchunk: read code chunk: fn() { typeset foo bar thing=this stuff=(that other) more=woevva; } which -x2 fn fn2() { typeset assignfirst=(why not); } which -x2 fn2 ZTST_test: examining line: >fn () { ZTST_getredir: read redir for '>': fn () { typeset foo bar thing=this stuff=(that other) more=woevva } fn2 () { typeset assignfirst=(why not) } ZTST_test: examining line: Running test: text output from typeset ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: fn () { typeset foo bar thing=this stuff=(that other) more=woevva } fn2 () { typeset assignfirst=(why not) } ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: fn() { ZTST_getchunk: read code chunk: fn() { typeset array=() print ${(t)array} ${#array} typeset gnothergarray=() gnothergarray[1]=yes gnothergarray[2]=no print -l ${(t)gnothergarray} $gnothergarray } fn ZTST_test: examining line: >array-local 0 ZTST_getredir: read redir for '>': array-local 0 array-local yes no ZTST_test: examining line: Running test: can set empty array ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: array-local 0 array-local yes no ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: array=(nothing to see here) ZTST_getchunk: read code chunk: array=(nothing to see here) fn() { typeset array=(one two three four five) typeset array[2,4]=(umm er) print ${#array} $array typeset array[2,3]=() print ${#array} $array } fn print ${#array} $array ZTST_test: examining line: >4 one umm er five ZTST_getredir: read redir for '>': 4 one umm er five 2 one five 4 nothing to see here ZTST_test: examining line: Running test: can update array slices in typeset ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: 4 one umm er five 2 one five 4 nothing to see here ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: examining line: array=(no really nothing here) ZTST_getchunk: read code chunk: array=(no really nothing here) fn() { typeset array=() array[2]=two array[4]=four typeset -p array typeset array=() array[3]=three array[1]=one typeset -p array } fn print $array ZTST_test: examining line: >typeset -a array ZTST_getredir: read redir for '>': typeset -a array array=( '' two '' four ) typeset -a array array=( one '' three ) no really nothing here ZTST_test: examining line: Running test: setting empty array in typeset ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.in.18963, output: /tmp/zsh.ztst.out.18963, error: /tmp/zsh.ztst.terr.18963 ZTST_execchunk: status 0 ZTST_test: test produced standard output: typeset -a array array=( '' two '' four ) typeset -a array array=( one '' three ) no really nothing here ZTST_test: and standard error: Test successful. ZTST_test: looking for new test ZTST_test: examining line: ZTST_test: all tests successful ./ztst.zsh:540: parse error near `*' ./B03print.ztst: starting. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 21 16:03:05 2016 Received: (at 22420) by debbugs.gnu.org; 21 Jan 2016 21:03:05 +0000 Received: from localhost ([127.0.0.1]:56799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMMNl-00060G-Gz for submit@debbugs.gnu.org; Thu, 21 Jan 2016 16:03:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34387) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMMNk-0005zn-4l for 22420@debbugs.gnu.org; Thu, 21 Jan 2016 16:03:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMMNc-0006oj-18 for 22420@debbugs.gnu.org; Thu, 21 Jan 2016 16:02:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMMNb-0006of-UQ; Thu, 21 Jan 2016 16:02:55 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:48034 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMMNb-0006pD-Bh; Thu, 21 Jan 2016 16:02:55 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#22420: Zsh test failure References: <20160121022120.GA19231@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 21 Jan 2016 22:02:53 +0100 In-Reply-To: <20160121022120.GA19231@jasmine> (Leo Famulari's message of "Wed, 20 Jan 2016 21:21:20 -0500") Message-ID: <87oacewsqq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari skribis: > Zsh fails to build due to a test failure on my system (x86_64). > > The test suite does not report where the failure occurs but I believe it > is in section 'Test/B02typeset.ztst' as a result of patch-shebang > failing to find a binary interpreter for 'Test/ztst.zsh': > > patch-shebang: ./Test/ztst.zsh: warning: no binary for interpreter `zsh' = found in $PATH > > I wonder if this means that the file is being interpreted by Bash, or > maybe the 'sh' mode of Bash. It means that the ztst.zsh contains #!/usr/bin/zsh or similar, and when the =E2=80=98patch-shebangs=E2=80=99 phase runs, there=E2=80=99s no =E2=80= =98zsh=E2=80=99 binary in $PATH, so the file is left unpatched with its bogus shebang. That means that attempts to exec ztst.zsh systematically fail. However, I see that Zsh appears to build fine on x86_64-linux as of v0.9.0-1121-gaca738f. What Guix commit are you using? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 21 17:20:26 2016 Received: (at 22420) by debbugs.gnu.org; 21 Jan 2016 22:20:26 +0000 Received: from localhost ([127.0.0.1]:56824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMNac-0007q1-4X for submit@debbugs.gnu.org; Thu, 21 Jan 2016 17:20:26 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:39246) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMNaZ-0007pr-KJ for 22420@debbugs.gnu.org; Thu, 21 Jan 2016 17:20:24 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 1234120D22; Thu, 21 Jan 2016 17:20:23 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 21 Jan 2016 17:20:23 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= content-type:date:from:message-id:mime-version:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=gkAzjb4qYbxkGVL0GxuGgFPq6Bs =; b=vCkLOAkZwaOmxADQLOLGqA1Ohbs/yeuWVV9Y1xnRJdpUtjTQwWYndC+BQZk qqTwIh4cPJegz7N6nBazKuhJ6zEvNVFjyvChvA8sfkZ8S/xHVJGa/WMLjmDmwpYW /c5WIefoGf96zliCrPkfnd+Iu+L1eNvUawiEAZAw1voGdfRE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=gk Azjb4qYbxkGVL0GxuGgFPq6Bs=; b=PRSJfHWRxSLo5PjicODyfIDdOHTelVzJxN joGIffFJdR/NDhT58hoWp5lTe8Vt7ELB9qJpRbNsweyEIP3TS99eXBz5NEAPcOd5 NFtFprWPwNnsm+NSfVZ/EioiUjEqsVWL0UwTVjNYwq2QLb62Q+AyKakSpv1UGVhs 5p/qDfdgw= X-Sasl-enc: sSGeZmlYyOd5xxCUyF9LEHDt2Kd9DfK9xVArZczl2/ZJ 1453414822 Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id BEF6F6800F8 for <22420@debbugs.gnu.org>; Thu, 21 Jan 2016 17:20:22 -0500 (EST) Date: Thu, 21 Jan 2016 17:20:18 -0500 From: Leo Famulari To: 22420@debbugs.gnu.org Subject: Zsh test failure Message-ID: <20160121222018.GA5534@jasmine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I patched the shebangs in "Test/ztst.zsh" and "Test/runtests.zsh" to use the 'zsh' produced by the build phase, but it doesn't seem to have made any difference. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 21 18:05:25 2016 Received: (at 22420) by debbugs.gnu.org; 21 Jan 2016 23:05:25 +0000 Received: from localhost ([127.0.0.1]:56829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMOI9-0000QW-LA for submit@debbugs.gnu.org; Thu, 21 Jan 2016 18:05:25 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35769) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMOI7-0000QN-E6 for 22420@debbugs.gnu.org; Thu, 21 Jan 2016 18:05:24 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B4B7A20D3C; Thu, 21 Jan 2016 18:05:22 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 21 Jan 2016 18:05:22 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=wI9GezW+qXPRCmziAvvLtzAR20o=; b=vGAsZw HiqvNhRm6odE0rjzBO4L5NL4HefEQh0ZwCBCXTdk3Kw3PobGyC+ZJ8R5zZfS0ORP S1s0JTzxhLgm/A0inyQy2yf30a2YHai+Bf0GptvYBPqor/1/4K2Ad2SR811Rxn+e C9ohJunucMoZQykFIE8eDsgoD2GHb501GM6iQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=wI9GezW+qXPRCmz iAvvLtzAR20o=; b=GJy7fdQfeHAZdGh5i2OFFCwsHh6b8RwCJGb+o+rGzjHsGGd THwMx/Pf0G+d+x+FGv6fbMeIfujM8h8NOkKQye0Ya+0BAEqCAOs4Va4YAoGnwrnq J4I5EZoMk1/a3Rbhy7pEXG5G+ieE9NDG7EEpQGwx8tiC09hlLTqij3LTXSCA= X-Sasl-enc: BdPIR+ir0paH0rLifwU+4o3uOithRNfzen1dLya0az2W 1453417522 Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 69B1E6801C2; Thu, 21 Jan 2016 18:05:22 -0500 (EST) Date: Thu, 21 Jan 2016 18:05:23 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#22420: Zsh test failure Message-ID: <20160121230523.GA17695@jasmine> References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87oacewsqq.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Thu, Jan 21, 2016 at 10:02:53PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > > Zsh fails to build due to a test failure on my system (x86_64). > > > > The test suite does not report where the failure occurs but I believe it > > is in section 'Test/B02typeset.ztst' as a result of patch-shebang > > failing to find a binary interpreter for 'Test/ztst.zsh': > > > > patch-shebang: ./Test/ztst.zsh: warning: no binary for interpreter `zsh' found in $PATH > > > > I wonder if this means that the file is being interpreted by Bash, or > > maybe the 'sh' mode of Bash. > > It means that the ztst.zsh contains #!/usr/bin/zsh or similar, and when > the ‘patch-shebangs’ phase runs, there’s no ‘zsh’ binary in $PATH, so > the file is left unpatched with its bogus shebang. > > That means that attempts to exec ztst.zsh systematically fail. > > However, I see that Zsh appears to build fine on x86_64-linux as of > v0.9.0-1121-gaca738f. What Guix commit are you using? Currently, feb767b23c7c. I noticed it was failing on core-updates and decided to investigate; this commit is on master, not core-updates. I have confirmed the failure is in 'Test/B02typeset.ztst'. > > Thanks, > Ludo’. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 21 18:14:52 2016 Received: (at 22420) by debbugs.gnu.org; 21 Jan 2016 23:14:53 +0000 Received: from localhost ([127.0.0.1]:56838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMORI-0000dm-Qe for submit@debbugs.gnu.org; Thu, 21 Jan 2016 18:14:52 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:37317) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMORH-0000df-Bg for 22420@debbugs.gnu.org; Thu, 21 Jan 2016 18:14:51 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 2AC9F20A7D; Thu, 21 Jan 2016 18:14:51 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Thu, 21 Jan 2016 18:14:51 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Gcz4F YdpkQttfmaAfONjdl+1uqI=; b=aTSrFiifrNH9nSXqOIuc2NjVgh/2tK958xtnP f2IHJZiTnrbCAAcEjsERT4tdJZXC7bXHixeZy87cek/Pc2v43bZWXJ7HQNMuQrY3 r3hRAr1lrLtnNr7UvpzEje5A/r8PtFLD3yr/giXVcMaHC1L/ennW0ayv9UcMBwIE 51a2Po= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=Gcz4FYdpkQttfmaAfONjdl+1uqI=; b=lywq7 IU2INUt11a7BxhdF3CcBvknwssDCF/s+baCpdTECheW1Qj6m0miQ26ziMou6r9IM 8fUc7Q3hSnZ2KQK9Dv+VYpNYhXK1FoKlNQU7eo1gozGccLPwHF77z7F6dLpjXgi8 6qhlABDQgKlHFuDMfIdhZwvHLw8C6L2DZ0jsM0= X-Sasl-enc: fk3nMkrYeLNLVZaMxwXn+3ybHJRSyx0EcFqhEVJ8Qepo 1453418090 Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id DE810680221 for <22420@debbugs.gnu.org>; Thu, 21 Jan 2016 18:14:50 -0500 (EST) Date: Thu, 21 Jan 2016 18:14:52 -0500 From: Leo Famulari To: 22420@debbugs.gnu.org Subject: Re: bug#22420: Zsh test failure Message-ID: <20160121231452.GA10109@jasmine> References: <20160121022120.GA19231@jasmine> <20160121222018.GA5534@jasmine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160121222018.GA5534@jasmine> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Thu, Jan 21, 2016 at 05:20:18PM -0500, Leo Famulari wrote: > I patched the shebangs in "Test/ztst.zsh" and "Test/runtests.zsh" to use > the 'zsh' produced by the build phase, but it doesn't seem to have made > any difference. I realized that the test suite sets 'ZTST_exe=../Src/zsh' and generally takes care to execute Zsh scripts using that interpreter. > > > From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 10:04:53 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 15:04:53 +0000 Received: from localhost ([127.0.0.1]:57984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMdGf-0004uM-4n for submit@debbugs.gnu.org; Fri, 22 Jan 2016 10:04:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49850) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMdGa-0004u3-Dn for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 10:04:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMdGQ-00056O-5w for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 10:04:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMdGQ-00056K-3Q; Fri, 22 Jan 2016 10:04:38 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:47896 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMdGP-0006nW-HI; Fri, 22 Jan 2016 10:04:37 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#22420: Zsh test failure References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 22 Jan 2016 16:04:35 +0100 In-Reply-To: <20160121230523.GA17695@jasmine> (Leo Famulari's message of "Thu, 21 Jan 2016 18:05:23 -0500") Message-ID: <878u3h7j0c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari skribis: > On Thu, Jan 21, 2016 at 10:02:53PM +0100, Ludovic Court=C3=A8s wrote: >> Leo Famulari skribis: >>=20 >> > Zsh fails to build due to a test failure on my system (x86_64). >> > >> > The test suite does not report where the failure occurs but I believe = it >> > is in section 'Test/B02typeset.ztst' as a result of patch-shebang >> > failing to find a binary interpreter for 'Test/ztst.zsh': >> > >> > patch-shebang: ./Test/ztst.zsh: warning: no binary for interpreter `zs= h' found in $PATH >> > >> > I wonder if this means that the file is being interpreted by Bash, or >> > maybe the 'sh' mode of Bash. >>=20 >> It means that the ztst.zsh contains #!/usr/bin/zsh or similar, and when >> the =E2=80=98patch-shebangs=E2=80=99 phase runs, there=E2=80=99s no =E2= =80=98zsh=E2=80=99 binary in $PATH, so >> the file is left unpatched with its bogus shebang. >>=20 >> That means that attempts to exec ztst.zsh systematically fail. >>=20 >> However, I see that Zsh appears to build fine on x86_64-linux as of >> v0.9.0-1121-gaca738f. What Guix commit are you using? > > Currently, feb767b23c7c. I noticed it was failing on core-updates and > decided to investigate; this commit is on master, not core-updates. On my x86_64 machine, commit, I=E2=80=99ve just run: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build zsh --rounds=3D3 -K --no-substitutes [...] @ build-succeeded /gnu/store/0g7d2ccznwrw010mlfjzzgvycc28vfyx-zsh-5.1.1.drv= - /gnu/store/1wv2flclz8nnkiq1j1s2aphqp9lk68i6-zsh-5.1.1 $ guix hash -r /gnu/store/1wv2flclz8nnkiq1j1s2aphqp9lk68i6-zsh-5.1.1 0s634s0z2b53fj3yd16bydh0qqh1xqjsjnwr59lbkqpd7yprpqma $ git describe=20 v0.9.0-1135-gedfa91a --8<---------------cut here---------------end--------------->8--- What system are you using? > I have confirmed the failure is in 'Test/B02typeset.ztst'. Could you post the relevant part of the build log? TIA, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 11:30:16 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 16:30:16 +0000 Received: from localhost ([127.0.0.1]:58030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMebI-0000AX-CP for submit@debbugs.gnu.org; Fri, 22 Jan 2016 11:30:16 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:60496) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMebF-0000AN-Ce for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 11:30:14 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E3F7221728; Fri, 22 Jan 2016 11:30:12 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 22 Jan 2016 11:30:12 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=c+qtY8q4cIHG/21snweUGMPRKrw=; b=qV9iAH NzS9Vt2znhKljBoXPjLozRljuWZhKVjtUuAaAsspXgWy2fhXiUeUNKcvJ/uvcK2D 5OUEpsN2HtDlGJsBAq08suYfWQHOAGAgmMF68HfJ9yRq7r65YpVAV3E3l0zqCJPC /EwIWsxs9aI/XzpxCd1NI2zswgi8EipbcQ61A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=c+qtY8q4cIHG/21 snweUGMPRKrw=; b=UNs/H7gJEntZ2Uaq4eFgqE0fwiYT/62UXUn8okK/6oWHWLy srmb40xJVhygeGiUBsFllkzbqT9L6PK6xiTcPleAxrzlPd5vwcy7GZVgxFOoDP7t 5oEKni6qhNK/dfxOLYgnuYtPHQlv/KfU+E3jXGY7Jrde3y+s2UotyKa/lCIs= X-Sasl-enc: V7zPaRL/wJagCcuh9DaS6qNp9gq0RmMknAxk63H+UzDU 1453480212 Received: from localhost (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 6AC5D6801E5; Fri, 22 Jan 2016 11:30:12 -0500 (EST) Date: Fri, 22 Jan 2016 11:30:12 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#22420: Zsh test failure Message-ID: <20160122163012.GA13174@jasmine> References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> <878u3h7j0c.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878u3h7j0c.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, Jan 22, 2016 at 04:04:35PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > > On Thu, Jan 21, 2016 at 10:02:53PM +0100, Ludovic Courtès wrote: > >> Leo Famulari skribis: > >> > >> > Zsh fails to build due to a test failure on my system (x86_64). > >> > > [...] > > What system are you using? It's an up-to-date Debian testing with this uname: Linux host 4.3.0-1-amd64 #1 SMP Debian 4.3.3-5 (2016-01-04) x86_64 GNU/Linux I have a machine with different hardware but the same arch, same OS version (but different setup) and same kernel config, and it built fine there. I can also build it in an up-to-date QEMU x86_64 image of GuixSD. > > > I have confirmed the failure is in 'Test/B02typeset.ztst'. > > Could you post the relevant part of the build log? Here is the verbose output of only the B02 test: http://paste.debian.net/367077/ And the non-verbose output of the entire test suite (the full verbose log is ~40000 lines): phase `build' succeeded after 45.8 seconds starting phase `check' cd Test ; make check make[1]: Entering directory '/tmp/guix-build-zsh-5.1.1.drv-0/zsh-5.1.1/Test' if test -n "gcc"; then \ cd .. && DESTDIR= \ make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \ fi if ZTST_testlist="`for f in ./*.ztst; \ do echo $f; done`" \ ZTST_srcdir="." \ ZTST_exe=../Src/zsh \ ../Src/zsh +Z -f ./runtests.zsh; then \ stat=0; \ else \ stat=1; \ fi; \ sleep 1; \ rm -rf Modules .zcompdump; \ exit $stat ./A01grammar.ztst: starting. This test hangs the shell when it fails... ./A01grammar.ztst: all tests successful. ./A02alias.ztst: starting. This test hangs the shell when it fails... ./A02alias.ztst: all tests successful. ./A03quoting.ztst: starting. ./A03quoting.ztst: all tests successful. ./A04redirect.ztst: starting. ./A04redirect.ztst: all tests successful. ./A05execution.ztst: starting. Unable to change MONITOR option This test takes 5 seconds to fail... Skipping pipe leak test, requires MONITOR option This test takes 3 seconds and hangs the shell when it fails... ./A05execution.ztst: all tests successful. ./A06assign.ztst: starting. ./A06assign.ztst: all tests successful. ./A07control.ztst: starting. ./A07control.ztst: all tests successful. ./B01cd.ztst: starting. ./B01cd.ztst: all tests successful. ./B02typeset.ztst: starting. ./ztst.zsh:540: parse error near `*' ./B03print.ztst: starting. ./B03print.ztst: all tests successful. ./B04read.ztst: starting. ./B04read.ztst: all tests successful. ./B05eval.ztst: starting. ./B05eval.ztst: all tests successful. ./B06fc.ztst: starting. ./B06fc.ztst: all tests successful. ./B07emulate.ztst: starting. ./B07emulate.ztst: all tests successful. ./B08shift.ztst: starting. ./B08shift.ztst: all tests successful. ./C01arith.ztst: starting. ./C01arith.ztst: all tests successful. ./C02cond.ztst: starting. Warning: Not testing [[ -b blockdevice ]] (no devices found) Warning: Not testing [[ -f blockdevice ]] (no devices found) This test takes two seconds... ./C02cond.ztst: all tests successful. ./C03traps.ztst: starting. This test takes at least three seconds... This test, too, takes at least three seconds... Another test that takes three seconds ./C03traps.ztst: all tests successful. ./C04funcdef.ztst: starting. ./C04funcdef.ztst: all tests successful. ./C05debug.ztst: starting. ./C05debug.ztst: all tests successful. ./D01prompt.ztst: starting. ./D01prompt.ztst: all tests successful. ./D02glob.ztst: starting. ./D02glob.ztst: all tests successful. ./D03procsubst.ztst: starting. ./D03procsubst.ztst: all tests successful. ./D04parameter.ztst: starting. ./D04parameter.ztst: all tests successful. ./D05array.ztst: starting. ./D05array.ztst: all tests successful. ./D06subscript.ztst: starting. ./D06subscript.ztst: all tests successful. ./D07multibyte.ztst: starting. Testing multibyte with locale en_US.UTF-8 ./D07multibyte.ztst: all tests successful. ./D08cmdsubst.ztst: starting. ./D08cmdsubst.ztst: all tests successful. ./D09brace.ztst: starting. ./D09brace.ztst: all tests successful. ./E01options.ztst: starting. This test hangs the shell when it fails... ./E01options.ztst: all tests successful. ./E02xtrace.ztst: starting. ./E02xtrace.ztst: all tests successful. ./V01zmodload.ztst: starting. ./V01zmodload.ztst: all tests successful. ./V02zregexparse.ztst: starting. ./V02zregexparse.ztst: all tests successful. ./V03mathfunc.ztst: starting. ./V03mathfunc.ztst: all tests successful. ./V04features.ztst: starting. ./V04features.ztst: all tests successful. ./V05styles.ztst: starting. ./V05styles.ztst: all tests successful. ./V06parameter.ztst: starting. ./V06parameter.ztst: all tests successful. ./V07pcre.ztst: starting. Testing PCRE multibyte with locale en_US.UTF-8 ./V07pcre.ztst: all tests successful. ./V08zpty.ztst: starting. ./V08zpty.ztst: all tests successful. ./V09datetime.ztst: starting. Test case skipped: Japanese UTF-8 locale not supported ./V09datetime.ztst: all tests successful. ./W01history.ztst: starting. ./W01history.ztst: all tests successful. ./X02zlevi.ztst: starting. ./X02zlevi.ztst: all tests successful. ./Y01completion.ztst: starting. ./Y01completion.ztst: all tests successful. ./Y02compmatch.ztst: starting. ./Y02compmatch.ztst: all tests successful. ./Y03arguments.ztst: starting. ./Y03arguments.ztst: all tests successful. ************************************** 44 successful test scripts, 1 failure, 0 skipped ************************************** Makefile:189: recipe for target 'check' failed make[1]: *** [check] Error 1 make[1]: Leaving directory '/tmp/guix-build-zsh-5.1.1.drv-0/zsh-5.1.1/Test' Makefile:265: recipe for target 'check' failed make: *** [check] Error 2 phase `check' failed after 30.2 seconds From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 12:47:45 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 17:47:45 +0000 Received: from localhost ([127.0.0.1]:58061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMfoH-0003fD-Bq for submit@debbugs.gnu.org; Fri, 22 Jan 2016 12:47:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57611) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMfoF-0003ez-0z for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 12:47:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMfo4-0001if-So for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 12:47:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMfo4-0001ib-Pm; Fri, 22 Jan 2016 12:47:32 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:60548 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMfo4-0001Fy-3W; Fri, 22 Jan 2016 12:47:32 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#22420: Zsh test failure References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> <878u3h7j0c.fsf@gnu.org> <20160122163012.GA13174@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 22 Jan 2016 18:47:29 +0100 In-Reply-To: <20160122163012.GA13174@jasmine> (Leo Famulari's message of "Fri, 22 Jan 2016 11:30:12 -0500") Message-ID: <87r3h933ri.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari skribis: >> > I have confirmed the failure is in 'Test/B02typeset.ztst'. >>=20 >> Could you post the relevant part of the build log? > > Here is the verbose output of only the B02 test: > http://paste.debian.net/367077/ It finishes with: --8<---------------cut here---------------start------------->8--- 2221 Test successful.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 2222 ZTST_test: looking for new test=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2223 ZTST_test: examining line:=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2224=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2225 ZTST_test: all tests successful=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2226 ./ztst.zsh:550: unmatched "=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- Could it be that the unmatched " is the root cause? I don=E2=80=99t see any clear sign of an error or failure other than that. Could you check what=E2=80=99s in that file on line 550? My 2=C2=A2. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 14:33:46 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 19:33:46 +0000 Received: from localhost ([127.0.0.1]:58101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMhSs-00068b-8d for submit@debbugs.gnu.org; Fri, 22 Jan 2016 14:33:46 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47617) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMhSq-00068T-AZ for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 14:33:44 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 482E42071E; Fri, 22 Jan 2016 14:33:42 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Fri, 22 Jan 2016 14:33:42 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=bFXa9stztLNZESdjD1A7Be4Ydg4=; b=wsREvK DxxmUWZmy+yPxFoXLp2EJJ4P8xwCkGy8ETS82ehfZ6IIR21+Yz+sJJZ9F9JQIEIB 6VlBteqLXQBg0Npe85ABYwsJ9xxK+zOGnPGUAiArTDGeK61WEAzI8Dmy4LQAfi0Z zGHwQlYNaxyN6TIN9qftf6MWOW7HV7AklT/m8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=bFXa9stztLNZESd jD1A7Be4Ydg4=; b=sFqniVZOM1cMdKvyNPI8GWbMxT6PsAqgdHW8J8gLFrJIQAM 5CtIFVqQ4x2LwQPYva5z1itt4Gnx1arpm0oufKzdjS8O+5n7Dh5eZFcNHNXNYat4 0MSs1CEZu9YSa7HE9RQddQfdr2GsKuFWEivE1YJS/96Ob8XptX0P1IAZoPvQ= X-Sasl-enc: +78N5r1uY4X/VZDSsBT+6E3hvN2OaFzjxs+jPE9cYALM 1453491222 Received: from localhost (c-68-81-58-201.hsd1.pa.comcast.net [68.81.58.201]) by mail.messagingengine.com (Postfix) with ESMTPA id 00579C01715; Fri, 22 Jan 2016 14:33:41 -0500 (EST) Date: Fri, 22 Jan 2016 14:33:44 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#22420: Zsh test failure Message-ID: <20160122193344.GB20936@jasmine> References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> <878u3h7j0c.fsf@gnu.org> <20160122163012.GA13174@jasmine> <87r3h933ri.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87r3h933ri.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, Jan 22, 2016 at 06:47:29PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > >> > I have confirmed the failure is in 'Test/B02typeset.ztst'. > >> > >> Could you post the relevant part of the build log? > > > > Here is the verbose output of only the B02 test: > > http://paste.debian.net/367077/ > > It finishes with: > > --8<---------------cut here---------------start------------->8--- > 2221 Test successful. > 2222 ZTST_test: looking for new test > 2223 ZTST_test: examining line: > 2224 > 2225 ZTST_test: all tests successful > 2226 ./ztst.zsh:550: unmatched " > --8<---------------cut here---------------end--------------->8--- > > Could it be that the unmatched " is the root cause? I don’t see any > clear sign of an error or failure other than that. > > Could you check what’s in that file on line 550? It's only 543 lines long! :o I guess I'll try tracing the script. I thought that perhaps it was referring to B02typeset.ztst, but I don't think there is anything related in that area of the file: 540 ( 541 setopt glob 542 mkdir -p arrayglob 543 touch arrayglob/{one,two,three,four,five,six,seven} 544 fn() { 545 typeset array=(arrayglob/[tf]*) 546 print -l ${array:t} 547 # 548 typeset {first,second,third}=the_same_value array=( 549 extends 550 over 551 multiple 552 lines 553 ) 554 print -l $first $second $third "$array" 555 # 556 integer i=$(echo 1 + 2 + 3 + 4) 557 print $i 558 # 559 # only noted by accident this was broken.. 560 # we need to turn off special recognition 561 # of assignments within assignments... 562 typeset careful=( i=1 j=2 k=3 ) 563 print -l $careful 564 } > > My 2¢. > > Ludo’. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 15:34:53 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 20:34:53 +0000 Received: from localhost ([127.0.0.1]:58110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMiQ1-0007Xq-7O for submit@debbugs.gnu.org; Fri, 22 Jan 2016 15:34:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39525) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMiPz-0007Xd-9v for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 15:34:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMiPq-0008AG-Sa for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 15:34:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMiPq-0008AB-P3; Fri, 22 Jan 2016 15:34:42 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:49598 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMiPq-0002Cs-7G; Fri, 22 Jan 2016 15:34:42 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#22420: Zsh test failure References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> <878u3h7j0c.fsf@gnu.org> <20160122163012.GA13174@jasmine> <87r3h933ri.fsf@gnu.org> <20160122193344.GB20936@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 22 Jan 2016 21:34:39 +0100 In-Reply-To: <20160122193344.GB20936@jasmine> (Leo Famulari's message of "Fri, 22 Jan 2016 14:33:44 -0500") Message-ID: <871t992w0w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari skribis: > I thought that perhaps it was referring to B02typeset.ztst, but I don't > think there is anything related in that area of the file: > 540 ( > 541 setopt glob > 542 mkdir -p arrayglob > 543 touch arrayglob/{one,two,three,four,five,six,seven} > 544 fn() { > 545 typeset array=3D(arrayglob/[tf]*) Out of curiosity, what file system is this on? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 15:38:56 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 20:38:56 +0000 Received: from localhost ([127.0.0.1]:58114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMiTw-0007dZ-NZ for submit@debbugs.gnu.org; Fri, 22 Jan 2016 15:38:56 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46260) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMiTv-0007dR-Bg for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 15:38:55 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 06F0420E83; Fri, 22 Jan 2016 15:38:52 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Fri, 22 Jan 2016 15:38:53 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=BLZW82BrmE/vXziMrYdYY9cQoDM=; b=k7KGuh 5PXXQwk0fnqxN5NPPCxV2c13ZXFQ+s4T7Qj7Qg/z64tLyopirpWfSrDb6bsb4/39 OPiJtDlSCym/V3gwKl23OoYz/conMXssKj+Z0jhTkDmKELNdy89WVYboGLCm/ZGZ w9HlVu2uVZoFuSQWThCVpJAL+UFMwSq8/3leU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=BLZW82BrmE/vXzi MrYdYY9cQoDM=; b=Igv8RnBZ5PxWv+/GCKBY7AWg55zvnhNDVJtcoWJz6JDm3LJ ZHgZCN/nI0ZGVcf0i1TaFzEhRfykPl1SNo/EG07vK4lWQA3ByUNvxLo46L2AngLw 6+K/pG7dwHu0smUrHpWBahgptsjvphDH7E6UnNxU5ZCf+GK0xks6jJwkatZo= X-Sasl-enc: rld8kadHzIuTFLmtej0NM59nCCCOy3XDY5vM13YYAwwB 1453495132 Received: from localhost (c-68-81-58-201.hsd1.pa.comcast.net [68.81.58.201]) by mail.messagingengine.com (Postfix) with ESMTPA id ACDF76800C0; Fri, 22 Jan 2016 15:38:52 -0500 (EST) Date: Fri, 22 Jan 2016 15:38:54 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#22420: Zsh test failure Message-ID: <20160122203854.GA27797@jasmine> References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> <878u3h7j0c.fsf@gnu.org> <20160122163012.GA13174@jasmine> <87r3h933ri.fsf@gnu.org> <20160122193344.GB20936@jasmine> <871t992w0w.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <871t992w0w.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, Jan 22, 2016 at 09:34:39PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > > I thought that perhaps it was referring to B02typeset.ztst, but I don't > > think there is anything related in that area of the file: > > 540 ( > > 541 setopt glob > > 542 mkdir -p arrayglob > > 543 touch arrayglob/{one,two,three,four,five,six,seven} > > 544 fn() { > > 545 typeset array=(arrayglob/[tf]*) > > Out of curiosity, what file system is this on? Both filesystems are btrfs on LVM. The failing system is also using LUKS. > > Ludo’. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 22 15:43:06 2016 Received: (at 22420) by debbugs.gnu.org; 22 Jan 2016 20:43:06 +0000 Received: from localhost ([127.0.0.1]:58118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMiXy-0007ju-6s for submit@debbugs.gnu.org; Fri, 22 Jan 2016 15:43:06 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:53199) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMiXw-0007jl-F9 for 22420@debbugs.gnu.org; Fri, 22 Jan 2016 15:43:05 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 46D0A205AA for <22420@debbugs.gnu.org>; Fri, 22 Jan 2016 15:43:04 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 22 Jan 2016 15:43:04 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=famulari.name; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=+dfCAPet1J4drLFCTXD0AqWVmYA=; b=Po7dhs jGFrKFoFap7Fk8+F++LksE16rBihpimbY1R9XmOF3b8VCQqDJBl39r4b4ZDUQnaO X5mqBgwqJjt149icSeZ7WAJm2k5vFKK/qv2bdDdCmONrevoAMKK8xt7gvrD/w+0o rIt5eoMRwMKbbAHhqAwSwuCsbkTnLLSGmClF0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=+dfCAPet1J4drLF CTXD0AqWVmYA=; b=AOARlf/3mMHr/X8Y1sZIRRt686B1fb4zsqAJEzEWby3mFKh /ontX4Zm/WbQH39n2mlc8fq51pbwso5k62RweWnq+hOVn2BV0C3eOXoSk+MStapv pIiuAwL7hs4LO7CqOapPFnOHyAzHJhsz2BWAMyg1/2BdcpmQDbO//DQrO3aw= X-Sasl-enc: rPPm8eXHOCUarw5dChIiT7yxQwPgN1QFTJREBH9fvn1u 1453495383 Received: from localhost (c-68-81-58-201.hsd1.pa.comcast.net [68.81.58.201]) by mail.messagingengine.com (Postfix) with ESMTPA id F11226800C0; Fri, 22 Jan 2016 15:43:03 -0500 (EST) Date: Fri, 22 Jan 2016 15:43:06 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#22420: Zsh test failure Message-ID: <20160122204306.GA27866@jasmine> References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> <878u3h7j0c.fsf@gnu.org> <20160122163012.GA13174@jasmine> <87r3h933ri.fsf@gnu.org> <20160122193344.GB20936@jasmine> <871t992w0w.fsf@gnu.org> <20160122203854.GA27797@jasmine> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160122203854.GA27797@jasmine> User-Agent: Mutt/1.5.24 (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Fri, Jan 22, 2016 at 03:38:54PM -0500, Leo Famulari wrote: > On Fri, Jan 22, 2016 at 09:34:39PM +0100, Ludovic Courtès wrote: > > Leo Famulari skribis: > > > > > I thought that perhaps it was referring to B02typeset.ztst, but I don't > > > think there is anything related in that area of the file: > > > 540 ( > > > 541 setopt glob > > > 542 mkdir -p arrayglob > > > 543 touch arrayglob/{one,two,three,four,five,six,seven} > > > 544 fn() { > > > 545 typeset array=(arrayglob/[tf]*) > > > > Out of curiosity, what file system is this on? > > Both filesystems are btrfs on LVM. The failing system is also using > LUKS. Well, actually, that only describes /home, which is perhaps not relevant, although I did try and fail to build in a `guix environment zsh` "by hand" in /home on the failing machine. Failing system (separate /tmp): /tmp /dev/mapper/bad--vg-tmp on /tmp type ext4 (rw,relatime,stripe=4,data=ordered) Working system (/tmp on /): /dev/mapper/good--vg-root on / type ext4 (rw,relatime,errors=remount-ro,data=ordered) > > > > > Ludo’. > > > From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 23 05:51:29 2016 Received: (at 22420) by debbugs.gnu.org; 23 Jan 2016 10:51:29 +0000 Received: from localhost ([127.0.0.1]:58348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMvmz-0005iV-HK for submit@debbugs.gnu.org; Sat, 23 Jan 2016 05:51:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34293) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aMvmx-0005iI-Pt for 22420@debbugs.gnu.org; Sat, 23 Jan 2016 05:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMvmn-0003V6-KZ for 22420@debbugs.gnu.org; Sat, 23 Jan 2016 05:51:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMvmn-0003V2-GF; Sat, 23 Jan 2016 05:51:17 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:42590 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aMvmm-0004I1-RI; Sat, 23 Jan 2016 05:51:17 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#22420: Zsh test failure References: <20160121022120.GA19231@jasmine> <87oacewsqq.fsf@gnu.org> <20160121230523.GA17695@jasmine> <878u3h7j0c.fsf@gnu.org> <20160122163012.GA13174@jasmine> <87r3h933ri.fsf@gnu.org> <20160122193344.GB20936@jasmine> <871t992w0w.fsf@gnu.org> <20160122203854.GA27797@jasmine> <20160122204306.GA27866@jasmine> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Pluvi=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 23 Jan 2016 11:51:14 +0100 In-Reply-To: <20160122204306.GA27866@jasmine> (Leo Famulari's message of "Fri, 22 Jan 2016 15:43:06 -0500") Message-ID: <87oacczhzx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22420 Cc: 22420@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari skribis: > On Fri, Jan 22, 2016 at 03:38:54PM -0500, Leo Famulari wrote: >> On Fri, Jan 22, 2016 at 09:34:39PM +0100, Ludovic Court=C3=A8s wrote: >> > Leo Famulari skribis: >> >=20 >> > > I thought that perhaps it was referring to B02typeset.ztst, but I do= n't >> > > think there is anything related in that area of the file: >> > > 540 ( >> > > 541 setopt glob >> > > 542 mkdir -p arrayglob >> > > 543 touch arrayglob/{one,two,three,four,five,six,seven} >> > > 544 fn() { >> > > 545 typeset array=3D(arrayglob/[tf]*) >> >=20 >> > Out of curiosity, what file system is this on? >>=20 >> Both filesystems are btrfs on LVM. The failing system is also using >> LUKS. OK. Btrfs often behaves differently from ext4, exhibiting issues in various places. The above test uses uses readdir(2) and friends to test glob patterns, so this could be an area where Btrfs yields different results. But anyway, you said /tmp is not on Btrfs. > Well, actually, that only describes /home, which is perhaps not > relevant, although I did try and fail to build in a `guix environment > zsh` "by hand" in /home on the failing machine. > > Failing system (separate /tmp): > /tmp /dev/mapper/bad--vg-tmp on /tmp type ext4 (rw,relatime,stripe=3D4,da= ta=3Dordered) > > Working system (/tmp on /): > /dev/mapper/good--vg-root on / type ext4 (rw,relatime,errors=3Dremount-ro= ,data=3Dordered) I=E2=80=99m not sure what could happen here. Could you try to analyze the = test log and see what exactly is failing? Once you=E2=80=99ve done that, you co= uld try to strace the test on both the =E2=80=9Cgood=E2=80=9D and the =E2=80=9C= bad=E2=80=9D file system, to spot the difference. Alternately, you could leave that for upstream to solve. ;-) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 10 16:01:18 2016 Received: (at control) by debbugs.gnu.org; 10 Feb 2016 21:01:19 +0000 Received: from localhost ([127.0.0.1]:35361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTbt0-00021R-Pt for submit@debbugs.gnu.org; Wed, 10 Feb 2016 16:01:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49630) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTbt0-00021E-24 for control@debbugs.gnu.org; Wed, 10 Feb 2016 16:01:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTbsr-00012i-Nb for control@debbugs.gnu.org; Wed, 10 Feb 2016 16:01:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTbsr-00012d-Jq for control@debbugs.gnu.org; Wed, 10 Feb 2016 16:01:09 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:59320 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTbsq-0005XI-R3 for control@debbugs.gnu.org; Wed, 10 Feb 2016 16:01:09 -0500 Date: Wed, 10 Feb 2016 22:01:06 +0100 Message-Id: <87pow4jn59.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #22420 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) tags 22420 moreinfo From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 09 20:10:58 2018 Received: (at 22420-done) by debbugs.gnu.org; 10 Sep 2018 00:10:58 +0000 Received: from localhost ([127.0.0.1]:51586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fz9n8-0001Tc-Cr for submit@debbugs.gnu.org; Sun, 09 Sep 2018 20:10:58 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fz9n7-0001TV-5V for 22420-done@debbugs.gnu.org; Sun, 09 Sep 2018 20:10:57 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F38E021C5C; Sun, 9 Sep 2018 20:10:56 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 09 Sep 2018 20:10:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=CC/uWXlr/x/CQm AlV9+9/MFusy+T1KVyZoBu75klk5o=; b=jyDQCA+bnR7nU9SMUim6RT65Mu3Gjp QI23vAOBrzGkYdV9S/OAczetXtWTLrA5lbWSMaL9CmDZcB0C+E0yT61cKxmMG+FB VcMNxsz7GhOBSSSdE8SSlTm7gPPrknOiFHwKVMxQDwCe/0UVFQYT/Nx4xfDGisN/ hcUiXA+COb/0g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=CC/uWXlr/x/CQmAlV9+9/MFusy+T1KVyZoBu75klk5o=; b=jJepS4C5 sdxUudLcf4/WzUu6r1OuRrbM3o7IC6dgFE19AH7ymrZkMxsaTJ1nOaxZM4K4uprc S1aI57KG+cpWPT+eKUkRLCpDaKFEDc2n5P9GQhAbkIImLYa46PlmXeQBHcdsNgKu VDPXtlZ9tgCvpfLUSXo6HC+RQjb9yEEHXiTI+ya+f/RgvKlMswQwC+wOmhZF2Lm5 uVTCRuOkgt6vBAFabr8bVAGuyzD3BIFzeBRno94+Yv+pOS9ElSyXA57s6iKO22rn Q29uUOtaPjBPfpHA1C3EsAGE058oSkAmhyhoUunwAcNgGPCkvMlp7rQIB7aKZUaQ A6OjqzyKVIiz6g== X-ME-Proxy: X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id DE8B8E4118 for <22420-done@debbugs.gnu.org>; Sun, 9 Sep 2018 20:10:53 -0400 (EDT) Date: Sun, 9 Sep 2018 20:10:53 -0400 From: Leo Famulari To: 22420-done@debbugs.gnu.org Subject: Re: Zsh test failure Message-ID: <20180910001053.GA19833@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22420-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This issue seems to have resolved itself. --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAluVtowACgkQJkb6MLrK fwjKHg//RZ5QA7sjYNUjhEug1S0es0wMqXu97ks4yK+E2qPXSmXYJddbZJyN8ziP o9pQpM0BONbiOwT8c83BE+cmHzyuLexomsQIZoWd0ty3Eb8C4HJbu9g8wYT0BWu8 ahv40xxwDX9tm/VBF74mEo6rPBnSz7acbyY2HRd36xJc2mwxUI28Iy2kx2TPayrU wIF4trp2eluJ1jjqDsDqZLtIZ6EFfdjURsv+VFu20DnEyr43X+Q64sahhG7VYwgS upvOCfhpdNpVTUapjReG0Q4W9vOr1c3ehKzpcz+A9sPgodseDmSMpKVrOb9PCu9b o6rzbEn4wL0ud9BjZej8iw3jJbS/tqpIwerL8FbMmmqFEnLxklLfcfCo8YAs8/Eu PAmvn75OxXgza8gFIfdo11ALc5Q8MgSkvsmlohJU7Koinx8qkpyarmrkhi85xh07 BVGYM3tx/x9x5qI8ncErIxsWWTkrcX/0p8YOBzZXRRKWWnekS0KR4Ij4+Kxzn2/h dVXmY/ZxDUr5HvX1HyyJZG/D/QISym4dzQh17WwDKB/sb//ZEBEAk+WmKxY+oXph QD+uBLDddoItWLuaGPxM5uivOq8oST9YpRjes2js0d+KENlSDZGL/rW7DDRQQ/QF SbDU/NHYCiwBwdrHEqQzfAgdtYqZ6AJNkfSvgZtFyk23U2Loyig= =d6JX -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- From unknown Sun Jun 22 22:45:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Oct 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator