[Bug 3521] New: skip tests for '%C' since no openssl in local path

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Jan 14 14:53:46 AEDT 2023


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

            Bug ID: 3521
           Summary: skip tests for '%C' since no openssl in local path
           Product: Portable OpenSSH
           Version: 9.1p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Regression tests
          Assignee: unassigned-bugs at mindrot.org
          Reporter: rmsh1216 at 163.com

Created attachment 3650
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3650&action=edit
Skip these tests if there is no openssl in local path.

Tests for '%C' in percent.sh depend on openssl in local path, so skip
these tests when there is no openssl in local path.

make tests
...
run test percent.sh ...
percent expansions matchexec percent
/home/communities/openssh-portable/regress/percent.sh: line 83:
openssl: command not found
matchexec=%C expect  got 9a4228f7ab4f48c26c7ce594366bbe6e69cbe511
matchexec=%%/%C/%i/%h/%d/%L/%l/%n/%p/%r/%u expect
%//0/127.0.0.1//root/localhost/localhost.localdomain/somehost/4242/remuser/root
got
%/9a4228f7ab4f48c26c7ce594366bbe6e69cbe511/0/127.0.0.1//root/localhost/localhost.localdomain/somehost/4242/remuser/root
percent expansions localcommand percent
/home/communities/openssh-portable/regress/percent.sh: line 83:
openssl: command not found
...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list