[Bug 2659] Fix race conditions in forwarding tests

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Jan 30 15:24:29 AEDT 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2659

--- Comment #8 from Damien Miller <djm at mindrot.org> ---
Created attachment 2932
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2932&action=edit
slightly less broken

This fixes the hangs. The test was opening a login session with
stdout/err diverted.

It still fails in the "exit on -L/-R forward failure" bits:

env SUDO="" "MALLOC_OPTIONS=CFGJRSUX"  sh
/usr/src/regress/usr.bin/ssh/test-exec.sh
/usr/src/regress/usr.bin/ssh/obj
/usr/src/regress/usr.bin/ssh/forwarding.sh
generate keys
wait for sshd
start forwarding, fork to background
transfer over forwarded channels and check result
exit on -L forward failure, proto 2
connection failed, should not
exit on -R forward failure, proto 2
connection failed, should not
simple clear forwarding proto 2
clear local forward proto 2
local forwarding not cleared
clear remote forward proto 2
remote forwarding not cleared
stdio forwarding proto 2
config file: start forwarding, fork to background
config file: transfer over forwarded channels and check result
transfer over chained unix domain socket forwards and check result
wait for sshd to exit
failed local and remote forwarding
*** Error 1 in /usr/src/regress/usr.bin/ssh (Makefile:186
't-forwarding')

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list