[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] 25: terminal input FAILED (iotty.at:29)
From: |
Jack Howarth |
Subject: |
Re: [Bug-tar] 25: terminal input FAILED (iotty.at:29) |
Date: |
Sat, 8 Nov 2014 20:25:34 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
In case this helps, if I edit the section in tests/ttyemu.c
#if 0
# define DEBUG(c) fprintf (stderr, "%s\n", c)
to
#if 1
# define DEBUG(c) fprintf (stderr, "%s\n", c)
and remake tests/ttyemu, then the following occurs. In the tests
subdirectory of the tar-1.28 build, if I execute...
# ./ttyemu -t5 -i/dev/null /sw/bin/tar -x
closing in
sent EOT
/sw/bin/tar: This does not look like a tar archive
/sw/bin/tar: Exiting with failure status due to previous errors
closing master
child exited
that is the output from the installed tar-1.26 release at /sw/bin/tar.
If I do the same with the newly built tar-1.28 release in ../src, I get...
# ./ttyemu -t5 -i/dev/null ../src/tar -x
child exited
closing in
closing master
On Sat, Nov 08, 2014 at 03:14:56PM -0500, Jack Howarth wrote:
> On x86_64-apple-darwin14, the tar 1.28 release with the xattrs fix from
> https://lists.gnu.org/archive/html/bug-tar/2014-08/msg00001.html applied
> has one remaining unexpected testsuite failure at...
>
> 25: terminal input FAILED (iotty.at:29)
>
> which appears in the attached testsuite.log as...
>
> 25. iotty.at:26: testing terminal input ...
> ./iotty.at:29:
> mkdir posix
> (cd posix
> TEST_TAR_FORMAT=posix
> export TEST_TAR_FORMAT
> TAR_OPTIONS="-H posix"
> export TAR_OPTIONS
> rm -rf *
>
> test -x $abs_builddir/ttyemu || exit 77
> TAPE=-
> export TAPE
> ttyemu -t5 -i/dev/null tar -x
> echo $?
> ttyemu -t5 -i/dev/null tar -xz
> echo $?
> ttyemu -t5 -i/dev/null tar -c .
> echo $?
> )
> --- - 2014-11-08 14:53:35.000000000 -0500
> +++
> /sw/src/fink.build/tar-1.28-1/tar-1.28/tests/testsuite.dir/at-groups/25/stdout
> 2014-11-08 14:53:35.000000000 -0500
> @@ -1,10 +1,4 @@
> -tar: Refusing to read archive contents from terminal (missing -f option?)
> -tar: Error is not recoverable: exiting now
> 2
> -tar: Refusing to read archive contents from terminal (missing -f option?)
> -tar: Error is not recoverable: exiting now
> 2
> -tar: Refusing to write archive contents to terminal (missing -f option?)
> -tar: Error is not recoverable: exiting now
> 2
>
> 25. iotty.at:26: 25. terminal input (iotty.at:26): FAILED (iotty.at:29)
>
>
> Any idea why this is failing on darwin? I believe there also have been reports
> of this testcase failing on Solaris 10 as well. Any fix would be appreciatd.
> Jack
> ps This failure occurs with either the system bash or the gnu bash 4.3.30
> as the default bash/sh shells in the path.