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-b...@mindrot.org
          Reporter: open...@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to