aboutsummaryrefslogtreecommitdiff
path: root/util/selftest.pl
AgeCommit message (Collapse)AuthorFilesLines
2016-02-11Perl's chop / chomp considered bad, use a regexp insteadRichard Levitte1-1/+1
Once upon a time, there was chop, which somply chopped off the last character of $_ or a given variable, and it was used to take off the EOL character (\n) of strings. ... but then, you had to check for the presence of such character. So came chomp, the better chop which checks for \n before chopping it off. And this worked well, as long as Perl made internally sure that all EOLs were converted to \n. These days, though, there seems to be a mixture of perls, so lines from files in the "wrong" environment might have \r\n as EOL, or just \r (Mac OS, unless I'm misinformed). So it's time we went for the more generic variant and use s|\R$||, the better chomp which recognises all kinds of known EOLs and chops them off. A few chops were left alone, as they are use as surgical tools to remove one last slash or one last comma. NOTE: \R came with perl 5.10.0. It means that from now on, our scripts will fail with any older version. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-08-01GH336: Return an exit code if report failsDirk Wetter1-0/+1
Reviewed-by: Richard Levitte <levitte@openssl.org>
2009-04-15Updates from 1.0.0-stable.Dr. Stephen Henson1-2/+2
2005-06-20Check for 'usage' and 'Usage'.Richard Levitte1-1/+1
Submitted by Tim Rice <tim@multitalents.net>. His comment is: I noticed "make report" didn't show the cc version on most of my System V platforms. This patch corrects this.
2005-06-06Skipping all tests just because one algorithm is disabled seems a bit harsch.Richard Levitte1-9/+15
PR: 1089
2005-04-27no Makefile.ssl anymoreNils Larsch1-2/+2
2002-01-16*** empty log message ***Ulf Möller1-1/+1
2001-03-06Forgot a '$'.Ulf Möller1-1/+1
2001-03-06DECUlf Möller1-0/+1
2001-02-27run self-test with no-krb5Ulf Möller1-0/+1
2000-12-06Don't check for bc at all. We can now run a meaningful test even ifUlf Möller1-7/+0
it is missing.
2000-12-06During the self test, we only want to know what bctest says onRichard Levitte1-1/+1
stderr...
2000-12-06Have the self test use bctest to check that bc is sane.Richard Levitte1-1/+1
2000-10-11fix problems in the selftestUlf Möller1-0/+1
2000-06-06Increased consideration for stupid Linux users.Ulf Möller1-1/+12
2000-03-20OpenBSD complains.Ulf Möller1-1/+1
2000-03-04Change output text (ar is not a linker).Bodo Möller1-1/+1
2000-03-04The selftest sometimes lacked important informationUlf Möller1-3/+17
2000-02-24Avoid filename "test.c" because otherwise "make test"Bodo Möller1-6/+6
will invoke a default rule built into make.
2000-02-24Fix NO_RSA (misplaced #endif).Ulf Möller1-2/+16
2000-02-24remove test "goto err"Ulf Möller1-2/+0
2000-02-23New make target "report" to run util/selftest.plUlf Möller1-2/+13
2000-02-23*** empty log message ***Ulf Möller1-2/+2
2000-02-23Run the test suite and generate a report.Ulf Möller1-0/+151