[Bug 240686] security/nss: regressions tests require bash
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 19 14:55:22 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240686
Bug ID: 240686
Summary: security/nss: regressions tests require bash
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: gecko at FreeBSD.org
Reporter: naddy at FreeBSD.org
Flags: maintainer-feedback?(gecko at FreeBSD.org)
Assignee: gecko at FreeBSD.org
Created attachment 207626
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207626&action=edit
Run regression tests with bash
Running security/nss's regression tests reveals a number of shell errors from
test scripts that use bash features like the built-in UID variable and more
importantly arrays:
[: -ne: unexpected operator
./ssl.sh: 1245: Syntax error: word unexpected (expecting ")")
./ectest.sh: 49: Syntax error: word unexpected (expecting ")")
Running the tests with bash instead shows stunningly different results.
Before (sh):
Passed: 3017
Failed: 0
Failed with core: 0
ASan failures: 0
Unknown status: 0
After (bash):
Passed: 14469
Failed: 0
Failed with core: 0
ASan failures: 0
Unknown status: 48
TinderboxPrint:Unknown: 48
Patch attached. We could change the shebangs of all scripts to
/usr/local/bin/bash, but there is no need for this; simply calling the
top-level script with bash is enough.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list