aboutsummaryrefslogtreecommitdiff
path: root/src/test/runtests.sh
AgeCommit message (Collapse)Author
2019-02-19src/test/runtests.sh: drop 'readelf'-based testsSergei Trofimovich
The 'readelf'-based tests cover a few situations: 1. undefined symbols in shared libraries 2. unexpected exports in shared libraries Bug #575958 shows that [2.] implementation is too simplistic in assuming that presence of relocation equals to export presence. It is incorrect for PLT stubs and local symbols. Let's just drop these tests. If one needs to cover [1.] it is better to use LDFLAGS=-Wl,--no-undefined. This closes #292. X-Reported-by: Benda Xu X-Gentoo-Bug: https://bugs.gentoo.org/575958 X-Gentoo-Bug-URL: https://bugs.gentoo.org/575958
2018-12-03misc: make checks always fatalAustin English
This fixes #263.
2018-11-27src/tests/runtests.sh: add a FATAL_CHECKS variable to make whitespace/etc. fatalAustin English
2016-01-22fix testsWilliam Hubbs
X-Gentoo-Bug: 572602 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572602
2013-10-21Revert "Make einfo routines private"William Hubbs
This reverts commit de88aff0a839844526ae262f8961ec4372fed238. I was advised that splashutils links to libeinfo, so we do have a consumer for this library.
2013-09-26Make einfo routines privateWilliam Hubbs
The libeinfo library has no consumers other than OpenRC, so there is no reason for it to be maintained as a library. The einfo routines are now an object that links with the rc binary.
2012-05-06split out librc-independent helpers into a dedicated header fileMike Frysinger
Many of these helpers are not special to librc, so split them out so they can be used in all source trees (including libeinfo). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-11-19make shell math operations style more succulentMike Frysinger
Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-02-14tests: filter valid parisc relocsMike Frysinger
Parisc generates a few relocs against internal symbols which are OK. X-Gentoo-Bug: 258913 X-Gentoo-Bug-URL: http://bugs.gentoo.org/258913 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17tests: check for trailing blank newlinesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17tests: check for common style issuesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-07-03More unit fixes.Roy Marples
2008-07-03Add an is_older_than unit test, thanks to zzamRoy Marples
2008-03-26We should sort using LC_ALL=C to avoid locale issues.Roy Marples
2008-03-24setup a bit of a test frameworkMike Frysinger