summaryrefslogtreecommitdiff
path: root/testit.sh
Commit message (Collapse)AuthorAgeFilesLines
* - cppcheck: annotate/fix warnings.jbj2015-05-131-5/+3
| | | | - resurrect make distcheck.
* This patch series changes everywhere the back-quotes construct for commanddevzero20002014-03-281-5/+5
| | | | | | | | | | | | | substitution with the $( ... ). The backquoted form is the historical method for command substitution, and is supported by POSIX. However, all but the simplest uses become complicated quickly. In particular, embedded command substitutions and/or the use of double quotes require careful escaping with the backslash character. Because of this the POSIX shell adopted the $(…) feature from the Korn shell. Because this construct uses distinct opening and closing delimiters, it is much easier to follow. Also now the embedded double quotes no longer need escaping.
* drop expr syntax error in make check under dashdevzero20002013-07-301-2/+2
| | | | Submitted by: Elia Pinto
* Don't use MALLOC_CHECK_ and valgrind(memcheck) at thedevzero20002013-07-031-9/+35
| | | | | | | | | | | | | | | | | | | same time The test suite can use valgrind(memcheck) via 'configure --enable-valgrind' Memcheck wraps client calls to malloc(), and puts a "red zone" on each end of each block in order to detect access overruns. Memcheck already detects double free() (up to the limit of the buffer which remembers pending free()). Thus memcheck subsumes all the documented coverage of MALLOC_CHECK_. If MALLOC_CHECK_ is set non-zero when running memcheck, then the overruns that might be detected by MALLOC_CHECK_ would be overruns on the wrapped blocks which include the red zones. Thus MALLOC_CHECK_ would be checking memcheck, and not the client. This is not useful, and actually is wasteful. The only possible [documented] advantage of using MALLOC_CHECK_ and memcheck together, would be if MALLOC_CHECK_ detected duplicate free() in more cases than memcheck because memcheck's buffer is too small.
* malloc check voodo portability quirkdevzero20002013-07-031-2/+4
| | | | | | | | | | Get rid of a non portable shell export VAR=VALUE costruct. "Posix requires export to honor assignments made as arguments, but older shells do not support this, including /bin/sh in Solaris 10. Portable scripts should separate assignments and exports into different statements" (from http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Limitations-of-Builtins.html)
* - use words instead of jargon to increase portability.jbj2012-03-031-6/+6
|
* add test3 to the unit test, add color-tests automake optiondevzero20002010-11-041-5/+13
|
* add tdict to the unit test: augment make check with some tdict testsdevzero20002010-10-271-1/+40
|
* add test2 to the unit test: augment make check with some test2 testsdevzero20002010-10-271-0/+308
|
* Remove the rubbish leftdevzero20002010-07-261-1/+0
|
* added --enable-valgrind autoconf optiondevzero20002010-07-261-2/+7
|
* add malloc vodo to testit.shdevzero20002010-06-231-0/+14
|
* - tests: test-cases for UNWANTEDARGS (Wayne Davison<wayned@samba.org>).jbj2010-06-181-3/+6
|
* - add an RPN calculator to do logical and add/subtract operations.jbj2010-06-131-2/+2
|
* - add methods for bit set union and intersection.jbj2009-07-261-1/+1
| | | | | - permit comma separated attribute lists, handle negated attributes. - better test for POPT_ARG_BITSET.
* - add POPT_ARG_BITSET handling.jbj2009-07-251-8/+9
|
* - add POPT_ARG_SHORT handling.jbj2009-07-251-30/+35
|
* - add test cases for bit operations and toggles.jbj2009-01-231-5/+12
|
* - jbj: extend coverage to several additional setup routines.jbj2008-05-051-2/+5
|
* - jbj: add tests for --usage/--help coverage.jbj2008-05-051-0/+51
|
* - jbj: enable tests for -c=foo short options. Thanks Wayne!jbj2008-03-101-2/+2
|
* - jbj: add tests for -c=foo, but commented out for now.jbj2008-03-081-0/+3
|
* - jbj: add test for POPT_ARG_ARGV handling.jbj2008-02-171-0/+1
|
* - jbj: fix: tests 20 -> 23 require an explicit '--' arg separator now.jbj2008-02-161-8/+5
|
* - jbj: hmmm, POSIXly correct --echo-args needs fixing, disable for now.jbj2008-02-121-17/+28
| | | | | - jbj: poptint.h: typedef's for string and string arrays. - jbj: add POPT_ARG_LONGLONG, and poptSaveLongLong().
* Bring in rpm.org changes to HEAD.jbj2007-05-251-2/+2
|
* - popt: parse file into string of options (#56860).jbj2002-07-201-0/+28
|
* - popt: add POPT_ARGFLAG_SHOW_DEFAULT to display initial values (#32558).jbj2001-06-171-8/+8
|
* - fix: popt exec doesn't add '--', --target et al no longer need '='.jbj2001-05-291-1/+1
| | | | - fix: popt consume-next-arg "!#:+" w/o side effect (#41956).
* Remove bash syntax.jbj2001-01-121-2/+2
|
* - (popt): add POPT_ARGFLAG_OPTIONAL for long options with optional arg.jbj2000-12-311-0/+5
| | | | - (popt): diddle auto-help to include type of arg expected.
* - popt: support for float/double args.jbj2000-09-111-0/+5
|
* Simplify environment setting for braindead (i.e. solaris) shells.jbj2000-08-111-2/+6
|
* - change popt exec alias in oreder to exec rpm children.jbj2000-05-241-5/+6
| | | | - split rpm into 5 pieces along major mode fault lines with popt glue.
* Makefile.am: Distribute test-poptrc, don't try to wildcard .po files.sopwith2000-02-111-5/+8
| | | | testit.sh: Work with srcdir != builddir.
* Add !#:+ token parsing to retrieve (and delete) next argument from list.jbj1999-10-251-1/+3
|
* fix: long options like "--long=val" needed longArg reset to NULL at top ofjbj1999-10-221-30/+31
| | | | | poptGetNextOpt() while loop. Variables in poptGetNextOpt() are also locally scoped.
* Functional "make check".jbj1999-10-211-29/+31
|
* added tests for single - argumentewt1999-04-071-0/+2
|
* implemented POPT_ARGINFO_INC_DATApopt-1_2ewt1998-10-271-0/+1
|
* added POPT_ARGFLAG_ONEDASHewt1998-10-211-0/+2
|
* made callback display valewt1998-09-271-1/+4
|
* 1) added included tablesewt1998-09-271-5/+10
| | | | | 2) added option callbacks 3) added automatic help/usage messages
* updated for exec passing command nameewt1998-07-291-5/+5
|
* *** empty log message ***ewt1998-07-271-0/+36