bugzilla-daemon at bugzilla.mindrot.org
2017-Oct-08 08:15 UTC
[Bug 2792] New: regress/authinfo.sh fails when tester's login shell is not /bin/sh or compatible
https://bugzilla.mindrot.org/show_bug.cgi?id=2792
Bug ID: 2792
Summary: regress/authinfo.sh fails when tester's login shell is
not /bin/sh or compatible
Product: Portable OpenSSH
Version: 7.6p1
Hardware: ix86
OS: NetBSD
Status: NEW
Severity: normal
Priority: P5
Component: Regression tests
Assignee: unassigned-bugs at mindrot.org
Reporter: openssh at vega.pgw.jp
Created attachment 3065
--> https://bugzilla.mindrot.org/attachment.cgi?id=3065&action=edit
patch for authinfo.sh
In regression tests, regress/authinfo.sh assumes that
tester's login shell is /bin/sh or compatible.
The test tries
ssh 127.0.0.1 'test -z "$SSH_USER_AUTH"'
but this will always fail when tester's login shell is /bin/csh,
emitting "SSH_USER_AUTH: Undefined variable.".
The attached patch will explicitly invoke "sh -c '....'",
which fixed the problem.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2018-Apr-06 04:04 UTC
[Bug 2792] regress/authinfo.sh fails when tester's login shell is not /bin/sh or compatible
https://bugzilla.mindrot.org/show_bug.cgi?id=2792
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |djm at mindrot.org
Resolution|--- |FIXED
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
We fixed this (twice!) before 7.7 was released. The current code looks
like:
env SSH_USER_AUTH=blah ${SSH} -F $OBJ/ssh_proxy x \
'env | grep SSH_USER_AUTH >/dev/null' && fail
"SSH_USER_AUTH
present"
--
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.
bugzilla-daemon at mindrot.org
2021-Apr-23 05:01 UTC
[Bug 2792] regress/authinfo.sh fails when tester's login shell is not /bin/sh or compatible
https://bugzilla.mindrot.org/show_bug.cgi?id=2792
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
closing resolved bugs as of 8.6p1 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.