Slackware-12 still fails three tests
Andy Tsouladze
andyb1 at andy-t.org
Tue Aug 17 14:18:50 EST 2010
I have re-run builds of openssh-SNAP-20100817.tar.gz on slackware-12.0 and
slackware-13.0. On 13.0, there both build and all tests run fine.
On slackware-12.0, openssh is built successfully, but three tests fail. I
had to test them individually (by removing successful ones from
.../regress/Makefile). I also put `set -x' as the first line of every
problematic test file (banner.sh, stderr-data.sh, and stderr-after-eof.sh)
Any chance this can be addressed before the release?
Below, I include the output from the three failed tests, run separately.
Output from running only banner test
------------------------------------
(cd openbsd-compat && make)
make[1]: Entering directory `/home/src/openssh/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/src/openssh/openbsd-compat'
BUILDDIR=`pwd`; \
[ -d `pwd`/regress ] || mkdir -p `pwd`/regress; \
[ -f `pwd`/regress/Makefile ] || \
ln -s `cd . && pwd`/regress/Makefile `pwd`/regress/Makefile ; \
TEST_SHELL="sh"; \
TEST_SSH_SSH="${BUILDDIR}/ssh"; \
TEST_SSH_SSHD="${BUILDDIR}/sshd"; \
TEST_SSH_SSHAGENT="${BUILDDIR}/ssh-agent"; \
TEST_SSH_SSHADD="${BUILDDIR}/ssh-add"; \
TEST_SSH_SSHKEYGEN="${BUILDDIR}/ssh-keygen"; \
TEST_SSH_SSHPKCS11HELPER="${BUILDDIR}/ssh-pkcs11-helper"; \
TEST_SSH_SSHKEYSCAN="${BUILDDIR}/ssh-keyscan"; \
TEST_SSH_SFTP="${BUILDDIR}/sftp"; \
TEST_SSH_SFTPSERVER="${BUILDDIR}/sftp-server"; \
TEST_SSH_PLINK="plink"; \
TEST_SSH_PUTTYGEN="puttygen"; \
TEST_SSH_CONCH="conch"; \
TEST_SSH_IPV6="yes" ; \
cd ./regress || exit $?; \
make \
.OBJDIR="${BUILDDIR}/regress" \
.CURDIR="`pwd`" \
BUILDDIR="${BUILDDIR}" \
OBJ="${BUILDDIR}/regress/" \
PATH="${BUILDDIR}:${PATH}" \
TEST_SHELL="${TEST_SHELL}" \
TEST_SSH_SSH="${TEST_SSH_SSH}" \
TEST_SSH_SSHD="${TEST_SSH_SSHD}" \
TEST_SSH_SSHAGENT="${TEST_SSH_SSHAGENT}" \
TEST_SSH_SSHADD="${TEST_SSH_SSHADD}" \
TEST_SSH_SSHKEYGEN="${TEST_SSH_SSHKEYGEN}" \
TEST_SSH_SSHPKCS11HELPER="${TEST_SSH_SSHPKCS11HELPER}" \
TEST_SSH_SSHKEYSCAN="${TEST_SSH_SSHKEYSCAN}" \
TEST_SSH_SFTP="${TEST_SSH_SFTP}" \
TEST_SSH_SFTPSERVER="${TEST_SSH_SFTPSERVER}" \
TEST_SSH_PLINK="${TEST_SSH_PLINK}" \
TEST_SSH_PUTTYGEN="${TEST_SSH_PUTTYGEN}" \
TEST_SSH_CONCH="${TEST_SSH_CONCH}" \
TEST_SSH_IPV6="yes" \
EXEEXT="" \
tests && echo all tests passed
make[1]: Entering directory `/home/src/openssh/regress'
ssh-keygen -if /src/openssh/regress/rsa_ssh2.prv | diff - /src/openssh/regress/rsa_openssh.prv
cat /src/openssh/regress/rsa_openssh.prv > /src/openssh/regress//t2.out
chmod 600 /src/openssh/regress//t2.out
ssh-keygen -yf /src/openssh/regress//t2.out | diff - /src/openssh/regress/rsa_openssh.pub
ssh-keygen -ef /src/openssh/regress/rsa_openssh.pub >/src/openssh/regress//rsa_secsh.pub
ssh-keygen -if /src/openssh/regress//rsa_secsh.pub | diff - /src/openssh/regress/rsa_openssh.pub
rm -f /src/openssh/regress/rsa_secsh.pub
ssh-keygen -lf /src/openssh/regress/rsa_openssh.pub |\
awk '{print $2}' | diff - /src/openssh/regress/t4.ok
ssh-keygen -Bf /src/openssh/regress/rsa_openssh.pub |\
awk '{print $2}' | diff - /src/openssh/regress/t5.ok
ssh-keygen -if /src/openssh/regress/dsa_ssh2.prv > /src/openssh/regress//t6.out1
ssh-keygen -if /src/openssh/regress/dsa_ssh2.pub > /src/openssh/regress//t6.out2
chmod 600 /src/openssh/regress//t6.out1
ssh-keygen -yf /src/openssh/regress//t6.out1 | diff - /src/openssh/regress//t6.out2
ssh-keygen -lf /src/openssh/regress//t7.out > /dev/null
ssh-keygen -Bf /src/openssh/regress//t7.out > /dev/null
run test banner.sh ...
++ tid=banner
++ echo 'Banner /src/openssh/regress/banner.in'
++ rm -f /src/openssh/regress/banner.out /src/openssh/regress/banner.in /src/openssh/regress/empty.in
++ touch /src/openssh/regress/empty.in
++ trace 'test missing banner file'
++ echo 'trace: test missing banner file'
++ '[' X = Xyes ']'
++ verbose 'test banner: missing banner file'
++ echo 'verbose: test banner: missing banner file'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: missing banner file'
test banner: missing banner file
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/empty.in /src/openssh/regress/banner.out
cmp: EOF on /src/openssh/regress/empty.in
++ fail 'missing banner file'
++ echo 'FAIL: missing banner file'
++ RESULT=1
++ echo 'missing banner file'
missing banner file
++ for s in 0 10 100 1000 10000 100000
++ '[' 0 = 0 ']'
++ touch /src/openssh/regress/banner.in
++ trace 'test banner size 0'
++ echo 'trace: test banner size 0'
++ '[' X = Xyes ']'
++ verbose 'test banner: size 0'
++ echo 'verbose: test banner: size 0'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: size 0'
test banner: size 0
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
cmp: EOF on /src/openssh/regress/banner.in
++ fail 'banner size 0 mismatch'
++ echo 'FAIL: banner size 0 mismatch'
++ RESULT=1
++ echo 'banner size 0 mismatch'
banner size 0 mismatch
++ for s in 0 10 100 1000 10000 100000
++ '[' 10 = 0 ']'
++ '[' 10 = 10 ']'
++ echo abcdefghi
++ trace 'test banner size 10'
++ echo 'trace: test banner size 10'
++ '[' X = Xyes ']'
++ verbose 'test banner: size 10'
++ echo 'verbose: test banner: size 10'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: size 10'
test banner: size 10
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
/src/openssh/regress/banner.in /src/openssh/regress/banner.out differ: char 1, line 1
++ fail 'banner size 10 mismatch'
++ echo 'FAIL: banner size 10 mismatch'
++ RESULT=1
++ echo 'banner size 10 mismatch'
banner size 10 mismatch
++ for s in 0 10 100 1000 10000 100000
++ '[' 100 = 0 ']'
++ '[' 100 = 10 ']'
++ cp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ trace 'test banner size 100'
++ echo 'trace: test banner size 100'
++ '[' X = Xyes ']'
++ verbose 'test banner: size 100'
++ echo 'verbose: test banner: size 100'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: size 100'
test banner: size 100
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
/src/openssh/regress/banner.in /src/openssh/regress/banner.out differ: char 1, line 1
++ fail 'banner size 100 mismatch'
++ echo 'FAIL: banner size 100 mismatch'
++ RESULT=1
++ echo 'banner size 100 mismatch'
banner size 100 mismatch
++ for s in 0 10 100 1000 10000 100000
++ '[' 1000 = 0 ']'
++ '[' 1000 = 10 ']'
++ cp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ trace 'test banner size 1000'
++ echo 'trace: test banner size 1000'
++ '[' X = Xyes ']'
++ verbose 'test banner: size 1000'
++ echo 'verbose: test banner: size 1000'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: size 1000'
test banner: size 1000
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
/src/openssh/regress/banner.in /src/openssh/regress/banner.out differ: char 1, line 1
++ fail 'banner size 1000 mismatch'
++ echo 'FAIL: banner size 1000 mismatch'
++ RESULT=1
++ echo 'banner size 1000 mismatch'
banner size 1000 mismatch
++ for s in 0 10 100 1000 10000 100000
++ '[' 10000 = 0 ']'
++ '[' 10000 = 10 ']'
++ cp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ trace 'test banner size 10000'
++ echo 'trace: test banner size 10000'
++ '[' X = Xyes ']'
++ verbose 'test banner: size 10000'
++ echo 'verbose: test banner: size 10000'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: size 10000'
test banner: size 10000
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
/src/openssh/regress/banner.in /src/openssh/regress/banner.out differ: char 1, line 1
++ fail 'banner size 10000 mismatch'
++ echo 'FAIL: banner size 10000 mismatch'
++ RESULT=1
++ echo 'banner size 10000 mismatch'
banner size 10000 mismatch
++ for s in 0 10 100 1000 10000 100000
++ '[' 100000 = 0 ']'
++ '[' 100000 = 10 ']'
++ cp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ for i in 0 1 2 3 4 5 6 7 8
++ cat /src/openssh/regress/banner.out
++ trace 'test banner size 100000'
++ echo 'trace: test banner size 100000'
++ '[' X = Xyes ']'
++ verbose 'test banner: size 100000'
++ echo 'verbose: test banner: size 100000'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: size 100000'
test banner: size 100000
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/banner.in /src/openssh/regress/banner.out
/src/openssh/regress/banner.in /src/openssh/regress/banner.out differ: char 1, line 1
++ fail 'banner size 100000 mismatch'
++ echo 'FAIL: banner size 100000 mismatch'
++ RESULT=1
++ echo 'banner size 100000 mismatch'
banner size 100000 mismatch
++ trace 'test suppress banner (-q)'
++ echo 'trace: test suppress banner (-q)'
++ '[' X = Xyes ']'
++ verbose 'test banner: suppress banner (-q)'
++ echo 'verbose: test banner: suppress banner (-q)'
++ '[' X '!=' Xyes ']'
++ echo 'test banner: suppress banner (-q)'
test banner: suppress banner (-q)
++ /src/openssh/ssh -q -2 -F /src/openssh/regress/ssh_proxy otherhost true
++ cmp /src/openssh/regress/empty.in /src/openssh/regress/banner.out
cmp: EOF on /src/openssh/regress/empty.in
++ fail 'suppress banner (-q)'
++ echo 'FAIL: suppress banner (-q)'
++ RESULT=1
++ echo 'suppress banner (-q)'
suppress banner (-q)
++ rm -f /src/openssh/regress/banner.out /src/openssh/regress/banner.in /src/openssh/regress/empty.in
+ cleanup
+ '[' -f /src/openssh/regress/pidfile ']'
+ '[' 1 -eq 0 ']'
+ echo failed banner
failed banner
+ exit 1
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory `/home/src/openssh/regress'
make: *** [tests] Error 2
-----------------------------------------
Output from running only stderr-data test
-----------------------------------------
(cd openbsd-compat && make)
make[1]: Entering directory `/home/src/openssh/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/src/openssh/openbsd-compat'
BUILDDIR=`pwd`; \
[ -d `pwd`/regress ] || mkdir -p `pwd`/regress; \
[ -f `pwd`/regress/Makefile ] || \
ln -s `cd . && pwd`/regress/Makefile `pwd`/regress/Makefile ; \
TEST_SHELL="sh"; \
TEST_SSH_SSH="${BUILDDIR}/ssh"; \
TEST_SSH_SSHD="${BUILDDIR}/sshd"; \
TEST_SSH_SSHAGENT="${BUILDDIR}/ssh-agent"; \
TEST_SSH_SSHADD="${BUILDDIR}/ssh-add"; \
TEST_SSH_SSHKEYGEN="${BUILDDIR}/ssh-keygen"; \
TEST_SSH_SSHPKCS11HELPER="${BUILDDIR}/ssh-pkcs11-helper"; \
TEST_SSH_SSHKEYSCAN="${BUILDDIR}/ssh-keyscan"; \
TEST_SSH_SFTP="${BUILDDIR}/sftp"; \
TEST_SSH_SFTPSERVER="${BUILDDIR}/sftp-server"; \
TEST_SSH_PLINK="plink"; \
TEST_SSH_PUTTYGEN="puttygen"; \
TEST_SSH_CONCH="conch"; \
TEST_SSH_IPV6="yes" ; \
cd ./regress || exit $?; \
make \
.OBJDIR="${BUILDDIR}/regress" \
.CURDIR="`pwd`" \
BUILDDIR="${BUILDDIR}" \
OBJ="${BUILDDIR}/regress/" \
PATH="${BUILDDIR}:${PATH}" \
TEST_SHELL="${TEST_SHELL}" \
TEST_SSH_SSH="${TEST_SSH_SSH}" \
TEST_SSH_SSHD="${TEST_SSH_SSHD}" \
TEST_SSH_SSHAGENT="${TEST_SSH_SSHAGENT}" \
TEST_SSH_SSHADD="${TEST_SSH_SSHADD}" \
TEST_SSH_SSHKEYGEN="${TEST_SSH_SSHKEYGEN}" \
TEST_SSH_SSHPKCS11HELPER="${TEST_SSH_SSHPKCS11HELPER}" \
TEST_SSH_SSHKEYSCAN="${TEST_SSH_SSHKEYSCAN}" \
TEST_SSH_SFTP="${TEST_SSH_SFTP}" \
TEST_SSH_SFTPSERVER="${TEST_SSH_SFTPSERVER}" \
TEST_SSH_PLINK="${TEST_SSH_PLINK}" \
TEST_SSH_PUTTYGEN="${TEST_SSH_PUTTYGEN}" \
TEST_SSH_CONCH="${TEST_SSH_CONCH}" \
TEST_SSH_IPV6="yes" \
EXEEXT="" \
tests && echo all tests passed
make[1]: Entering directory `/home/src/openssh/regress'
ssh-keygen -if /src/openssh/regress/rsa_ssh2.prv | diff - /src/openssh/regress/rsa_openssh.prv
cat /src/openssh/regress/rsa_openssh.prv > /src/openssh/regress//t2.out
chmod 600 /src/openssh/regress//t2.out
ssh-keygen -yf /src/openssh/regress//t2.out | diff - /src/openssh/regress/rsa_openssh.pub
ssh-keygen -ef /src/openssh/regress/rsa_openssh.pub >/src/openssh/regress//rsa_secsh.pub
ssh-keygen -if /src/openssh/regress//rsa_secsh.pub | diff - /src/openssh/regress/rsa_openssh.pub
rm -f /src/openssh/regress/rsa_secsh.pub
ssh-keygen -lf /src/openssh/regress/rsa_openssh.pub |\
awk '{print $2}' | diff - /src/openssh/regress/t4.ok
ssh-keygen -Bf /src/openssh/regress/rsa_openssh.pub |\
awk '{print $2}' | diff - /src/openssh/regress/t5.ok
ssh-keygen -if /src/openssh/regress/dsa_ssh2.prv > /src/openssh/regress//t6.out1
ssh-keygen -if /src/openssh/regress/dsa_ssh2.pub > /src/openssh/regress//t6.out2
chmod 600 /src/openssh/regress//t6.out1
ssh-keygen -yf /src/openssh/regress//t6.out1 | diff - /src/openssh/regress//t6.out2
ssh-keygen -lf /src/openssh/regress//t7.out > /dev/null
ssh-keygen -Bf /src/openssh/regress//t7.out > /dev/null
run test stderr-data.sh ...
++ tid='stderr data transfer'
++ DATA=/bin/ls
++ COPY=/src/openssh/regress/copy
++ rm -f /src/openssh/regress/copy
++ for n in ''\'''\''' -n
++ for p in 1 2
++ verbose 'test stderr data transfer: proto 1 ()'
++ echo 'verbose: test stderr data transfer: proto 1 ()'
++ '[' X '!=' Xyes ']'
++ echo 'test stderr data transfer: proto 1 ()'
test stderr data transfer: proto 1 ()
++ /src/openssh/ssh -1 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
++ /src/openssh/ssh -1 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''echo a; exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
++ for p in 1 2
++ verbose 'test stderr data transfer: proto 2 ()'
++ echo 'verbose: test stderr data transfer: proto 2 ()'
++ '[' X '!=' Xyes ']'
++ echo 'test stderr data transfer: proto 2 ()'
test stderr data transfer: proto 2 ()
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''echo a; exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
++ for n in ''\'''\''' -n
++ for p in 1 2
++ verbose 'test stderr data transfer: proto 1 (-n)'
++ echo 'verbose: test stderr data transfer: proto 1 (-n)'
++ '[' X '!=' Xyes ']'
++ echo 'test stderr data transfer: proto 1 (-n)'
test stderr data transfer: proto 1 (-n)
++ /src/openssh/ssh -n -1 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
++ /src/openssh/ssh -n -1 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''echo a; exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
++ for p in 1 2
++ verbose 'test stderr data transfer: proto 2 (-n)'
++ echo 'verbose: test stderr data transfer: proto 2 (-n)'
++ '[' X '!=' Xyes ']'
++ echo 'test stderr data transfer: proto 2 (-n)'
test stderr data transfer: proto 2 (-n)
++ /src/openssh/ssh -n -2 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
++ /src/openssh/ssh -n -2 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''echo a; exec > /dev/null; sleep 3; cat /bin/ls 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ cmp /bin/ls /src/openssh/regress/copy
/bin/ls /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/copy
+ cleanup
+ '[' -f /src/openssh/regress/pidfile ']'
+ '[' 1 -eq 0 ']'
+ echo failed stderr data transfer
failed stderr data transfer
+ exit 1
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory `/home/src/openssh/regress'
make: *** [tests] Error 2
-----------------------------------------
Output from running only stderr-after-eof test
-----------------------------------------
(cd openbsd-compat && make)
make[1]: Entering directory `/home/src/openssh/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/src/openssh/openbsd-compat'
BUILDDIR=`pwd`; \
[ -d `pwd`/regress ] || mkdir -p `pwd`/regress; \
[ -f `pwd`/regress/Makefile ] || \
ln -s `cd . && pwd`/regress/Makefile `pwd`/regress/Makefile ; \
TEST_SHELL="sh"; \
TEST_SSH_SSH="${BUILDDIR}/ssh"; \
TEST_SSH_SSHD="${BUILDDIR}/sshd"; \
TEST_SSH_SSHAGENT="${BUILDDIR}/ssh-agent"; \
TEST_SSH_SSHADD="${BUILDDIR}/ssh-add"; \
TEST_SSH_SSHKEYGEN="${BUILDDIR}/ssh-keygen"; \
TEST_SSH_SSHPKCS11HELPER="${BUILDDIR}/ssh-pkcs11-helper"; \
TEST_SSH_SSHKEYSCAN="${BUILDDIR}/ssh-keyscan"; \
TEST_SSH_SFTP="${BUILDDIR}/sftp"; \
TEST_SSH_SFTPSERVER="${BUILDDIR}/sftp-server"; \
TEST_SSH_PLINK="plink"; \
TEST_SSH_PUTTYGEN="puttygen"; \
TEST_SSH_CONCH="conch"; \
TEST_SSH_IPV6="yes" ; \
cd ./regress || exit $?; \
make \
.OBJDIR="${BUILDDIR}/regress" \
.CURDIR="`pwd`" \
BUILDDIR="${BUILDDIR}" \
OBJ="${BUILDDIR}/regress/" \
PATH="${BUILDDIR}:${PATH}" \
TEST_SHELL="${TEST_SHELL}" \
TEST_SSH_SSH="${TEST_SSH_SSH}" \
TEST_SSH_SSHD="${TEST_SSH_SSHD}" \
TEST_SSH_SSHAGENT="${TEST_SSH_SSHAGENT}" \
TEST_SSH_SSHADD="${TEST_SSH_SSHADD}" \
TEST_SSH_SSHKEYGEN="${TEST_SSH_SSHKEYGEN}" \
TEST_SSH_SSHPKCS11HELPER="${TEST_SSH_SSHPKCS11HELPER}" \
TEST_SSH_SSHKEYSCAN="${TEST_SSH_SSHKEYSCAN}" \
TEST_SSH_SFTP="${TEST_SSH_SFTP}" \
TEST_SSH_SFTPSERVER="${TEST_SSH_SFTPSERVER}" \
TEST_SSH_PLINK="${TEST_SSH_PLINK}" \
TEST_SSH_PUTTYGEN="${TEST_SSH_PUTTYGEN}" \
TEST_SSH_CONCH="${TEST_SSH_CONCH}" \
TEST_SSH_IPV6="yes" \
EXEEXT="" \
tests && echo all tests passed
make[1]: Entering directory `/home/src/openssh/regress'
ssh-keygen -if /src/openssh/regress/rsa_ssh2.prv | diff - /src/openssh/regress/rsa_openssh.prv
cat /src/openssh/regress/rsa_openssh.prv > /src/openssh/regress//t2.out
chmod 600 /src/openssh/regress//t2.out
ssh-keygen -yf /src/openssh/regress//t2.out | diff - /src/openssh/regress/rsa_openssh.pub
ssh-keygen -ef /src/openssh/regress/rsa_openssh.pub >/src/openssh/regress//rsa_secsh.pub
ssh-keygen -if /src/openssh/regress//rsa_secsh.pub | diff - /src/openssh/regress/rsa_openssh.pub
rm -f /src/openssh/regress/rsa_secsh.pub
ssh-keygen -lf /src/openssh/regress/rsa_openssh.pub |\
awk '{print $2}' | diff - /src/openssh/regress/t4.ok
ssh-keygen -Bf /src/openssh/regress/rsa_openssh.pub |\
awk '{print $2}' | diff - /src/openssh/regress/t5.ok
ssh-keygen -if /src/openssh/regress/dsa_ssh2.prv > /src/openssh/regress//t6.out1
ssh-keygen -if /src/openssh/regress/dsa_ssh2.pub > /src/openssh/regress//t6.out2
chmod 600 /src/openssh/regress//t6.out1
ssh-keygen -yf /src/openssh/regress//t6.out1 | diff - /src/openssh/regress//t6.out2
ssh-keygen -lf /src/openssh/regress//t7.out > /dev/null
ssh-keygen -Bf /src/openssh/regress//t7.out > /dev/null
run test stderr-after-eof.sh ...
++ tid='stderr data after eof'
++ DATA=/etc/motd
++ DATA=/src/openssh/regress/data
++ COPY=/src/openssh/regress/copy
++ have_prog md5sum
++ saved_IFS='
'
++ IFS=:
++ for i in '$PATH'
++ '[' -x /src/openssh/md5sum ']'
++ for i in '$PATH'
++ '[' -x /usr/local/bin/md5sum ']'
++ for i in '$PATH'
++ '[' -x /opt/kde/bin/md5sum ']'
++ for i in '$PATH'
++ '[' -x /bin/md5sum ']'
++ IFS='
'
++ return 0
++ CHECKSUM=md5sum
++ rm -f /src/openssh/regress/data /src/openssh/regress/copy
++ cp /dev/null /src/openssh/regress/data
++ for i in 1 2 3 4 5 6
++ date
++ md5sum
++ echo 1
++ for i in 1 2 3 4 5 6
++ date
++ echo 2
++ md5sum
++ for i in 1 2 3 4 5 6
++ date
++ md5sum
++ echo 3
++ for i in 1 2 3 4 5 6
++ date
++ md5sum
++ echo 4
++ for i in 1 2 3 4 5 6
++ date
++ md5sum
++ echo 5
++ for i in 1 2 3 4 5 6
++ date
++ md5sum
++ echo 6
++ /src/openssh/ssh -2 -F /src/openssh/regress/ssh_proxy otherhost exec sh -c ''\''exec > /dev/null; sleep 2; cat /src/openssh/regress/data 1>&2 '\'''
++ r=0
++ '[' 0 -ne 0 ']'
++ egrep 'Disconnecting: Received extended_data after EOF' /src/openssh/regress/copy
++ cmp /src/openssh/regress/data /src/openssh/regress/copy
/src/openssh/regress/data /src/openssh/regress/copy differ: char 1, line 1
++ fail 'stderr corrupt'
++ echo 'FAIL: stderr corrupt'
++ RESULT=1
++ echo 'stderr corrupt'
stderr corrupt
++ rm -f /src/openssh/regress/data /src/openssh/regress/copy
+ cleanup
+ '[' -f /src/openssh/regress/pidfile ']'
+ '[' 1 -eq 0 ']'
+ echo failed stderr data after eof
failed stderr data after eof
+ exit 1
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory `/home/src/openssh/regress'
make: *** [tests] Error 2
----------------------------------------
Thanks,
Andy
Dr Andy Tsouladze
Sr Unix/Storage SysAdmin
More information about the openssh-unix-dev
mailing list