summaryrefslogtreecommitdiff
path: root/tests/gtests
Commit message (Collapse)AuthorAgeFilesLines
* Bug 1396616 - Update nssUTF8_Length to RFC 3629 and fix buffer overrun. ↵Masatoshi Kimura2022-03-221-1/+1
| | | | | | r=nss-reviewers,jschanck Differential Revision: https://phabricator.services.mozilla.com/D139790
* Bug 1709750 - Read HPKE vectors from official JSON, r=djacksonMartin Thomson2021-08-101-3/+4
| | | | | | Added check for required fields Differential Revision: https://phabricator.services.mozilla.com/D119046
* Bug 1720230 Gtest update changed the gtest reports, losing gtest details in ↵Robert Relyea2021-07-151-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | all.sh reports. This patch includes the updated .sed script, and an experiment using bash instead to see how hard it would be to make a more robust parser. The robust parser generates identical output as sed, but takes about 30x longer, so instead of subsecond operations, it takes almost half a minute. With that result, I think we can stay with sed and continue to update when we get new versions of gtests. (sigh). time cat report.xml.0 | sed -f parsegtestreport.sed > r1 real 0m0.710s user 0m0.705s sys 0m0.008s time cat report.xml.0 | sh parsegtestreport.sh > r2 real 0m25.066s user 0m17.759s sys 0m9.506s [rrelyea@localhost common]$ diff r1 r2 updated: with review comments from Martin and move the report parsing to the common code so it can be shared with both ssl_gtests and gtests shell scripts. Differential Revision: https://phabricator.services.mozilla.com/D120028
* Bug 1684300 - Disable legacy storage when compiled with NSS_DISABLE_DBM. r=mtKevin Jacobs2021-01-131-0/+11
| | | | Differential Revision: https://phabricator.services.mozilla.com/D101218
* Bug 1592557 - fix prng kat tests, r=jcjFranziskus Kiefer2019-11-211-1/+1
| | | | | | fix for prng kat tests Differential Revision: https://phabricator.services.mozilla.com/D54095
* Bug 1588567 - enable mozilla::pkix gtests in NSS r=jcjDana Keeler2019-11-011-2/+8
| | | | Differential Revision: https://phabricator.services.mozilla.com/D49184
* Bug 1531236 - Fixup gtests.sh paths properly, a=bustageMartin Thomson2019-03-211-1/+2
|
* Bug 1531236 - Fixup gtests.sh paths, a=bustageMartin Thomson2019-03-211-12/+17
|
* Bug 1521174 - Add some initial S/MIME gtests r=mtJ.C. Jones2018-12-101-1/+1
| | | | Differential Revision: https://phabricator.services.mozilla.com/D17014
* Bug 1496124 - Populate public values for imported private keys, r=mtRobert Relyea2018-11-081-10/+13
|
* Bug 818686 - XDG Base Directory Specification support with fallback, r=mtNSS_3_42_BETA1Edênis Freindorfer Azevedo2019-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | Summary: We check if $HOME/.pki and $HOME/.pki/nssdb exist; if they do, then we use this path. Otherwise, use ${XDG_DATA_HOME:-$HOME/.local/share}/pki/nssdb Test Plan: Create dummy empty dir and set HOME to it. Then, check if getUserDb returns: 1. $HOME/.pki/nssdb when this path exists; 2. $HOME/.local/share/pki/nssdb when $HOME/.pki/nssdb does not and XDG_DATA_HOME is not defined; 3. $XDG_DATA_HOME/pki/nssdb when $HOME/.pki/nssdb does not exist and XDG_DATA_HOME is defined. Reviewers: mt Reviewed By: mt Bug #: 818686 Differential Revision: https://phabricator.services.mozilla.com/D14007
* Bug 1396830 - add blake2b to freebl, r=mtFranziskus Kiefer2017-06-291-1/+1
| | | | Differential Revision: https://nss-review.dev.mozaws.net/D362
* Bug 1379273 - make softoken resettable via PK11_ResetToken r=franziskus,ttaubertDavid Keeler2017-08-011-1/+1
| | | | | | | | | | | | | | | Summary: Two issues prevented PK11_ResetToken from working properly: 1. The backing DB tables would be dropped and never recreated, preventing future operations from working. 2. The needLogin property of the SFTKSlot would not be updated properly, preventing PK11_InitPin (and thus other operations) from succeeding. Reviewers: ttaubert, franziskus Reviewed By: ttaubert, franziskus Differential Revision: https://nss-review.dev.mozaws.net/D382
* Bug 1280846 - tests: adjust gtests to compile under modular builds, r=franziskusDaiki Ueno2017-06-011-1/+1
|
* Bug 1342137 - Permit unknown dotted-decimal X500 Principals ↵J.C. Jones2017-05-111-1/+1
| | | | | | | | | | | | | | r=franziskus,ttaubert RFC 1485 permits principals with OIDs in either "1.2=Name" or "OID.1.2=Name" form. This patch permits such forms, for unknown OIDs. This patch adds disabled tests which should fail, but do not, and need further cleanup. Original patch courtesy of Miklos Vajna. Differential Revision: https://nss-review.dev.mozaws.net/D310
* Bug 1334054 - fix CERT_FormatName output buffer length calculation r=franziskusDavid Keeler2017-05-101-1/+1
| | | | | | | | | | | | | | Summary: Before this patch, CERT_FormatName attempted to account for the length of the additional formatting in its output buffer length, but added an insufficient amount (a fixed 128 bytes). This patch dynamically accounts for the additional space required by the formatting output (it can over-account in some cases, but this is unlikely to be a performance concern compared to the original implementation). Reviewers: franziskus Differential Revision: https://nss-review.dev.mozaws.net/D307
* Bug 1363213 - more, non-leaking mpi tests; run them on TC, r=ttaubertFranziskus Kiefer2017-05-081-1/+1
| | | | Differential Revision: https://nss-review.dev.mozaws.net/D284
* Bug 1351459 - disable long b64 tests, r=kaieFranziskus Kiefer2017-04-191-2/+1
| | | | Differential Revision: https://nss-review.dev.mozaws.net/D292
* Bug 1351459 - disable slow b64 tests, r=kaieFranziskus Kiefer2017-04-181-1/+2
| | | | Differential Revision: https://nss-review.dev.mozaws.net/D288
* Bug 1345089 - add prng kat tests, r=ttaubertFranziskus Kiefer2017-02-281-2/+4
| | | | Differential Revision: https://nss-review.dev.mozaws.net/D237
* Bug 1312964 - Add linux64-fuzz to TC and run *Fuzz* gtests r=franziskusTim Taubert2016-10-261-1/+2
| | | | Differential Revision: https://nss-dev.phacility.com/D122
* Bug 1307088 - gtests.sh runs should succeed when building with ↵Tim Taubert2016-10-031-0/+4
| | | | NSS_DISABLE_GTESTS=1 r=kaie
* Bug 1306948 - Make DER integer decoding a little easer to read r=franziskusTim Taubert2016-10-021-1/+1
|
* Bug 1291888, avoid searching core files for individual gtests, avoid nested ↵Kai Engert2016-08-041-4/+8
| | | | process pipe, more output to help track down the stuck tests on windows, r=ekr
* Bug 1242565 - refactor gtests, r=mtFranziskus Kiefer2016-05-031-0/+79