zsh-workers
 help / color / mirror / code / Atom feed
* A04 Test Failure
@ 2007-10-25 23:41 Vin Shelton
  0 siblings, 0 replies; only message in thread
From: Vin Shelton @ 2007-10-25 23:41 UTC (permalink / raw)
  To: zsh workers

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

On my new kubuntu Gutsy Gibbon box, I'm seeing a test failure.  I'm
not seeing this regression on either cygwin or my linux boxes at work.

I've attached the verbose test output.

Regards,
  Vin

-- 
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506

[-- Attachment #2: A04.out --]
[-- Type: application/octet-stream, Size: 11236 bytes --]

if test -n "gcc"; then \
	  cd .. && DESTDIR= \
	  make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
	fi
for f in /opt/src/zsh-2007-10-25/Test/A04*.ztst; do \
	  ZTST_exe=../Src/zsh \
	    ../Src/zsh +Z -f /opt/src/zsh-2007-10-25/Test/ztst.zsh $f; \
	done
/opt/src/zsh-2007-10-25/Test/A04redirect.ztst: starting.
ZTST_getsect: read section name: prep
ZTST_getchunk: read code chunk:
  mkdir redir.tmp && cd redir.tmp
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
  myfd=99
  (echo >&$myfd) 2>msg
  bad_fd_msg="${$(<msg)##*:}"
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:
  print 'This is file redir' >redir  &&  cat redir
ZTST_getchunk: read code chunk:
  print 'This is file redir' >redir  &&  cat redir
ZTST_test: examining line:
>This is file redir
ZTST_getredir: read redir for '>':
This is file redir
ZTST_test: examining line:

Running test: '>' and '<' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
This is file redir
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  rm -f redir
ZTST_getchunk: read code chunk:
  rm -f redir
  print 'This is still file redir' <>redir >&0  &&  cat <>redir
ZTST_test: examining line:
>This is still file redir
ZTST_getredir: read redir for '>':
This is still file redir
ZTST_test: examining line:

Running test: '<>' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
This is still file redir
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  rm -f redir
ZTST_getchunk: read code chunk:
  rm -f redir
  print 'With a bar' >|redir  &&  cat redir
ZTST_test: examining line:
>With a bar
ZTST_getredir: read redir for '>':
With a bar
ZTST_test: examining line:

Running test: '>|' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
With a bar
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  rm -f redir
ZTST_getchunk: read code chunk:
  rm -f redir
  print 'With a bang' >!redir  &&  cat redir
ZTST_test: examining line:
>With a bang
ZTST_getredir: read redir for '>':
With a bang
ZTST_test: examining line:

Running test: '>!' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
With a bang
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  rm -f redir
ZTST_getchunk: read code chunk:
  rm -f redir
  print 'Line 1' >>redir  &&  print 'Line 2' >>redir  &&  cat redir
ZTST_test: examining line:
>Line 1
ZTST_getredir: read redir for '>':
Line 1
Line 2
ZTST_test: examining line:

Running test: '>>' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
Line 1
Line 2
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  rm -f redir
ZTST_getchunk: read code chunk:
  rm -f redir
  print 'Line a' >>|redir  &&  print 'Line b' >>!redir
ZTST_test: examining line:

Running test: '>>|' and '>>!' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
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:
  foo=bar
ZTST_getchunk: read code chunk:
  foo=bar
  cat <<'  HERE'
  $foo
  HERE
  eval "$(print 'cat <<HERE\n$foo\nHERE')"
ZTST_test: examining line:
>  $foo
ZTST_getredir: read redir for '>':
  $foo
bar
ZTST_test: examining line:

Running test: Here-documents
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
  $foo
bar
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  cat <<-HERE
ZTST_getchunk: read code chunk:
  cat <<-HERE
	$foo$foo
	HERE
ZTST_test: examining line:
>barbar
ZTST_getredir: read redir for '>':
barbar
ZTST_test: examining line:

Running test: Here-documents stripping tabs
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
barbar
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  cat <<-$'$HERE '`$(THERE) `'$((AND)) '"\EVERYWHERE"
ZTST_getchunk: read code chunk:
  cat <<-$'$HERE '`$(THERE) `'$((AND)) '"\EVERYWHERE"
	Here's a funny thing.  Here is a funny thing.
	I went home last night.  There's a funny thing.
	Man walks into a $foo.  Ouch, it's an iron $foo.
	$HERE `$(THERE) `$((AND)) \EVERYWHERE
ZTST_test: examining line:
>Here's a funny thing.  Here is a funny thing.
ZTST_getredir: read redir for '>':
Here's a funny thing.  Here is a funny thing.
I went home last night.  There's a funny thing.
Man walks into a $foo.  Ouch, it's an iron $foo.
ZTST_test: examining line:

Running test: Here-documents don't perform shell expansion on the initial word
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
Here's a funny thing.  Here is a funny thing.
I went home last night.  There's a funny thing.
Man walks into a $foo.  Ouch, it's an iron $foo.
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  cat <<-$'\x45\x4e\x44\t\x44\x4f\x43'
ZTST_getchunk: read code chunk:
  cat <<-$'\x45\x4e\x44\t\x44\x4f\x43'
	This message is unfathomable.
	END	DOC
ZTST_test: examining line:
>This message is unfathomable.
ZTST_getredir: read redir for '>':
This message is unfathomable.
ZTST_test: examining line:

Running test: Here-documents do perform $'...' expansion on the initial word
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
This message is unfathomable.
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  cat <<<"This is a line with a $foo in it"
ZTST_getchunk: read code chunk:
  cat <<<"This is a line with a $foo in it"
ZTST_test: examining line:
>This is a line with a bar in it
ZTST_getredir: read redir for '>':
This is a line with a bar in it
ZTST_test: examining line:

Running test: '<<<' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
This is a line with a bar in it
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  cat <<<$'a\nb\nc'
ZTST_getchunk: read code chunk:
  cat <<<$'a\nb\nc'
ZTST_test: examining line:
>a
ZTST_getredir: read redir for '>':
a
b
c
ZTST_test: examining line:

Running test: here-strings with $'...' quoting
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
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:
  #
ZTST_getchunk: read code chunk:
  #
  # exec tests: perform these in subshells so if they fail the
  # shell won't exit.
  #
  (exec 3>redir  &&  print hello >&3  &&  print goodbye >&3  && cat redir)
ZTST_test: examining line:
>hello
ZTST_getredir: read redir for '>':
hello
goodbye
ZTST_test: examining line:

Running test: '>&' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
hello
goodbye
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  (exec 3<redir && read foo <&3 && print $foo && read foo <&3 && print $foo)
ZTST_getchunk: read code chunk:
  (exec 3<redir && read foo <&3 && print $foo && read foo <&3 && print $foo)
ZTST_test: examining line:
>hello
ZTST_getredir: read redir for '>':
hello
goodbye
ZTST_test: examining line:

Running test: '<&' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
hello
goodbye
ZTST_test: and standard error:

Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:

ZTST_test: examining line:
  (exec 3<&-
ZTST_getchunk: read code chunk:
  (exec 3<&-
  read foo <&-)
ZTST_test: examining line:

Running test: '<&-' redirection
ZTST_test: expecting status: 1
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 1
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:
  print foo >&-
ZTST_getchunk: read code chunk:
  print foo >&-
ZTST_test: examining line:

Running test: '>&-' redirection
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.13341, output: /tmp/zsh.ztst.out.13341, error: /tmp/zsh.ztst.terr.13341
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
foo
ZTST_test: and standard error:

*** /tmp/zsh.ztst.out.13341	Thu Oct 25 19:34:47 2007
--- /tmp/zsh.ztst.tout.13341	Thu Oct 25 19:34:47 2007
***************
*** 0 ****
--- 1 ----
+ foo
Test /opt/src/zsh-2007-10-25/Test/A04redirect.ztst failed: output differs from expected as shown above for:
  print foo >&-
Was testing: '>&-' redirection
/opt/src/zsh-2007-10-25/Test/A04redirect.ztst: test failed.
make: [check] Error 1 (ignored)
rm -rf Modules .zcompdump

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-25 23:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-25 23:41 A04 Test Failure Vin Shelton

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).