aboutsummaryrefslogtreecommitdiff
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* add to testsuite and fix yet another sed corner caseGravatar Denis Vlasenko2007-01-291-0/+3
|
* sed: fix 2 bugs (one testsuite entry + one newly found)Gravatar Denis Vlasenko2007-01-291-0/+4
| | | | but more importantly make code more understandable
* fix all known regressions with sed and also make it simplerGravatar Denis Vlasenko2007-01-281-0/+5
|
* wc can emit unpredictable amount of whitespaceGravatar Denis Vlasenko2007-01-281-1/+2
|
* - add a very few simple test for sum.Gravatar Bernhard Reutner-Fischer2007-01-271-0/+24
| | | | The very first is currently broken
* - pull taskset.tests from the busybox_scratch branchGravatar Bernhard Reutner-Fischer2007-01-071-0/+17
|
* diff: small optimizations; do not try to diff non-seekable streamGravatar Denis Vlasenko2007-01-071-11/+31
| | | | | | | | (currently we don't support that) sort: fixes. testsuites fixed: sort with non-default leading delim 1 sort with non-default leading delim 2 sort key doesn't strip leading blanks, disables fallback global sort
* whitespace cleanupGravatar Denis Vlasenko2006-09-1711-18/+18
|
* uuencode: common implementation for wget and uuencode (closing bug 694)Gravatar Denis Vlasenko2006-09-032-4/+28
|
* tar: tar xf foo.tar dir/dir did not extract all subdirs.Gravatar Denis Vlasenko2006-09-022-0/+15
| | | | | Added testsuite entry for this
* - pull from busybox_scratch: r15829:15850Gravatar Bernhard Reutner-Fischer2006-08-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
* Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerGravatar Rob Landley2006-07-261-0/+2
| | | | | | fix than his, and shrank the code a bit on top of that so the net size is smaller, and added a test to the test suite for this case. Plus I cleaned up the #includes and removed unnecessary "const"s while I was there.
* Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,Gravatar Rob Landley2006-06-301-17/+0
| | | | | and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe...
* Add a test from Glenn.Gravatar Rob Landley2006-06-241-0/+38
|
* Fix bug found by Joey Hess and forwarded by Bastian Bunk. Add Joey Hess'sGravatar Rob Landley2006-06-151-1/+15
| | | | | test case to the testsuite, plus another one that would have been broken by the first attempt at a fix.
* Don't do workarounds for broken shells. Busybox is about to grow a shell thatGravatar Rob Landley2006-06-151-10/+6
| | | | | | we can run our own testsuite under, and I want it to handle the full range of strange and peverted behavior you can find in real world shell scripts. In the meantime, I'll just say #!/bin/bash in places that may care.
* - add applet taskset to set/retrieve the CPU affinity of a processGravatar Bernhard Reutner-Fischer2006-06-071-0/+17
| | | | | | | | | | text data bss dec hex filename 584 0 0 584 248 taskset.o.gcc-2.95 509 0 0 509 1fd taskset.o.gcc-3.3 505 0 0 505 1f9 taskset.o.gcc-3.4 506 0 0 506 1fa taskset.o.gcc-4.0 498 0 0 498 1f2 taskset.o.gcc-4.1 495 0 0 495 1ef taskset.o.gcc-4.2-HEAD
* - add testcase for grep bug (http://busybox.net/bugs/view.php?id=887)Gravatar Bernhard Reutner-Fischer2006-06-041-0/+2
| | | | The patch for bug #887 seems to work for me..
* check for queueing dependancy dependancies typosGravatar Mike Frysinger2006-05-261-1/+2
|
* queuing is spelled correctlyGravatar Mike Frysinger2006-05-261-1/+0
|
* make the testsuite a little less brittle:Gravatar Bernhard Reutner-Fischer2006-05-252-15/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 'function fn_name\n{' breaks on older FreeBSD default shells, so use the more widely supported 'fn_name () {'. This needs more fixing.. - test for integers ought to use the proper operators - test for strings ought to use quoting of the strings to be fair to strange implementations of test(1) - make sure not to ignore return-codes != 0 from commands; Some shells exit immediately on this (much like explicitely requesting set -e in e.g. bash) TODO: *) Some older shells do not allow a space after the test-condition in an "if" statement. This doesn't work: if [ $status -ne 0 ] ; then as opposed to this: if [ $status -ne 0 ]; then or this if [ $status -ne 0 ] then *) strict spacing between commands. In some shells you have to say: foo ; bar ; baz The affected shells barf on stuff like ommitting the space, so this doesn't work: foo; bar ;baz *) $() vs. `` The former isn't really portable as opposed to the latter. *) fix frong assumption that the testsuite is run from the source-dir. This is a complete misconception and renders the testsuite completely useless. That said, i note that IMO a test-harness ought to do it's best to work in a wide variety of environments, everything else defeats it's purpose.
* make sure script is executableGravatar Mike Frysinger2006-05-061-0/+0
|
* Add an "optional" line for FEATURE_READLINK_FOLLOW.Gravatar Rob Landley2006-05-051-0/+3
|
* New test from Natanael Copa.Gravatar Rob Landley2006-05-051-0/+29
|
* Minor tweaks: remove traces of old $COMMAND environment variable.Gravatar Rob Landley2006-05-022-5/+1
|
* detect more obsolete headersGravatar Mike Frysinger2006-04-291-1/+1
|
* - print "Obsolet headers" instead of "Obsolete function usage" when checkingGravatar Bernhard Reutner-Fischer2006-04-281-1/+1
| | | | for obsolet includes.
* Re-wordwrap the new tests, and fix seq.c to pass them.Gravatar Rob Landley2006-04-271-4/+4
|
* - add two regression tests for seq.Gravatar Bernhard Reutner-Fischer2006-04-271-0/+4
| | | | "seq two arguments equal, arbitrary negative step" fails but should pass..
* Patch from Jean Wolter:Gravatar Rob Landley2006-04-191-7/+22
| | | | | | | | | | | | | | | it looks like the introduced support for character classes and equivalence classes is not correct. The attached patch tries to fix some symptoms and tries to make tr behave like gnu tr for the added test cases. The patch  - removes if clauses with side effects  - fixes handling of buffer pointer (strcat added characters to the    buffer without increasing the buffer pointer)  - re-arranges character classes to match ASCII order regards, Jean
* - typo: s/derefernce/dereference/gGravatar Bernhard Reutner-Fischer2006-04-181-0/+1
| | | | Thanks to P.J. Day.
* - add typo s/deamon/daemon/gGravatar Bernhard Reutner-Fischer2006-04-181-0/+1
|
* - add grep for typo s/algorithic/algorithmic/gGravatar Bernhard Reutner-Fischer2006-04-181-0/+1
|
* add a check for obsolete headersGravatar Mike Frysinger2006-04-161-3/+13
|
* add some tests for common typos and for obsolete functionsGravatar Mike Frysinger2006-04-161-1/+47
|
* Avoid spurious error message. (Technically applet order should be "SKIPPED"Gravatar Rob Landley2006-04-041-1/+1
| | | | | when you move the testsuite directory outside of busybox and run it, but as long as the test doesn't fail we're ok.)
* work outside of the srctreeGravatar Mike Frysinger2006-04-011-1/+2
|
* new test for source code sanityGravatar Mike Frysinger2006-04-011-0/+17
|
* move source code tests out into a sep file rather than just ↵Gravatar Mike Frysinger2006-04-011-12/+0
| | | | disabling/breaking them
* remove bogus "Gravatar Mike Frysinger2006-04-011-2/+2
|
* silence error if busybox.links doesnt exist and run tests that begin with "all_"Gravatar Mike Frysinger2006-04-011-2/+2
|
* Fix "seq 1 1".Gravatar Rob Landley2006-03-221-0/+1
|
* Make the new chroot environment creation infrastructure more flexible aboutGravatar Rob Landley2006-03-181-2/+5
| | | | non-absolute paths.
* My mount testsuite. Not automatically run at the moment, need to figure outGravatar Rob Landley2006-03-182-0/+203
| | | | how to (optionally) supply User Mode Linux to runtests.
* More test updates.Gravatar Rob Landley2006-03-162-26/+30
|
* Redo test suite to be able to test more than one command at a time. EliminateGravatar Rob Landley2006-03-168-174/+189
| | | | | | | $COMMAND environment variable, instead put full command line (including command to run) in second argument. Modify $PATH to have test versions of commands at start of path. (Also more infrastructure for testing as root, work in progress...)
* I'm about to introduce tests that need to run as root (like mount.tests),Gravatar Rob Landley2006-03-091-2/+29
| | | | | | meaning we want to run them in a chroot environment. To help with this, I worked out a utility function that makes it really easy to set up a chroot environment.
* When gnu fails this one we shouldn't let it _hang_...Gravatar Rob Landley2006-03-011-1/+1
|
* Yet more sed tests. Passing these is a to-do item for 1.1.2 or 1.2, not aGravatar Rob Landley2006-03-011-9/+45
| | | | 1.1.1 issue.
* Add a test suite for seq.Gravatar Rob Landley2006-02-241-0/+31
|