[Bug 2792] New: regress/authinfo.sh fails when tester's login shell is not /bin/sh or compatible

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Oct 8 19:15:59 AEDT 2017


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.


More information about the openssh-bugs mailing list