aboutsummaryrefslogtreecommitdiff
path: root/testsuite
AgeCommit message (Collapse)Author
2005-09-23- remove dangling symlinks after the runsBernhard Reutner-Fischer
- check if the temporary directory containing the links exists rather than unconditionally creating it for every single applet.
2005-09-23- set executable bitBernhard Reutner-Fischer
2005-09-23- introduce variable _BB_CONFIG_DEP to the new test harness.Bernhard Reutner-Fischer
This is used to see if given tests should be run (are available) or not. Print "UNTESTED: descr" if the applet or feature is not available. - add _BB_CONFIG_DEP to existing new.tests - move old grep test to new test infrastructure and add a few more test for grep.
2005-09-20Get "make check" ($srcdir) to work with the new testsuite.Rob Landley
2005-09-20The testsuite/links directory wasn't being created.Rob Landley
2005-09-14Test full susv3 spec for uniq (except internationalization).Rob Landley
I think this covers it. We fail two corner cases, both of which are explicit violations of the spec, and both of which gnu passes.
2005-09-07Don't comment warnings. Don't put #warnings about warnings. _FIX_ warnings.Rob Landley
This fixes the warning, and makes the binary smaller out of sheer pique. (Yes, since Manuel did this one it's nice tight code that took several attempts to shrink, but I was ticked.) Add the start of a test for uniq; this is about the first 1/3 of the tests we need for full susv3 coverage of uniq.
2005-09-05Regarding 11330: when you fix a bug that the testsuite doesn't catch, addRob Landley
a test case to the test suite.
2005-09-04Remove trailing crud from busybox.tests. (Sleep deprivation strikes again...)Rob Landley
2005-09-04General cleanup of command line parsing to allow "busybox" to work as a prefix.Rob Landley
(I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) Added testing/busybox.tests which tests the following permutations: ./busybox ./busybox-suffix ./busybox cat ./busybox-suffix cat ./busybox --help ./busybox-suffix --help ./busybox --help cat ./busybox-suffix --help cat ./busybox --help unknown ./busybox-suffix --help unknown ./unknown Also repair the test suite so ./runtest calls the ".tests" scripts properly. Note: you can now go "busybox busybox busbox ls -l" and it'll take it. The new code is pretty generic. I can block that if anybody can come up with a good reason to...
2005-09-02This goes along with the new testsuite code...Rob Landley
2005-09-02Working on a new test harness. Moved the sort tests into it.Rob Landley
2005-05-18Patch from Colin Watson (mangled slightly by Rob Landley):Rob Landley
This patch implements the 'T' command in sed. This is a GNU extension, but one of the udev hotplug scripts uses it, so I need it in busybox anyway. Includes a test; 'svn add testsuite/sed/sed-branch-conditional-inverted' after applying.
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-04-18Add two fundamental tests for copying directoriesGlenn L McGrath
2004-04-06Minor tar test updateEric Andersen
2004-04-06Kill off the old 'tests' stuff. Write a ton of new tests for theEric Andersen
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik
2004-04-06Fix the test suite script so it actually works and actually flagsEric Andersen
all errors as such. Make verbose mode exit on FAIL and provide a printout of the failed test run.
2004-04-05Some test additionsEric Andersen
2003-12-26Isolate code better for unused options, config option to enable longGlenn L McGrath
options, add some conditions to the tar tests in testsuite.
2003-11-20Update status of tests which should passGlenn L McGrath
2003-11-20remove controversial testsGlenn L McGrath
2003-09-16Configuration option to define wether to follows GNU sed's behaviour Glenn L McGrath
or the posix standard. Put the cleanup code back the way it was.
2003-09-16Fix a bug that creapt in recently with substitution subprinting, and addGlenn L McGrath
a test for it.
2003-09-15Fix a simple mistake with pattern space, and add a test for itGlenn L McGrath
2003-09-15Add a test for the 'P' command and fix current implementation so itGlenn L McGrath
doesnt permanently modify the pattern space.
2003-09-15A test and fix for the sed 'n' commandGlenn L McGrath
2003-09-15Test for use of newline in regex's, this feature is used by mostGlenn L McGrath
configure scripts.
2003-09-15Test the N commandGlenn L McGrath
2003-09-15Check sed doesnt go into an infinite loop (yes it does)Glenn L McGrath
2003-09-14Update sed branch testsGlenn L McGrath
2003-09-14Add two new tests, sed-recurses-properly should always workGlenn L McGrath
2003-05-18Handle -O preceding -x.Matt Kraai
2003-01-13Patch from Tito to rework strings applet, and some testsuiteEric Andersen
stuff to test it added by me.
2002-11-28left out a \"Glenn L McGrath
2002-11-28This test was hangingGlenn L McGrath
2002-06-11* testsuite/sed/sed-recurses-properly: Mark XFAIL.Matt Kraai
2002-04-15* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standardMatt Kraai
output. * testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
2002-04-13Sed can go into an infinite loopEric Andersen
2002-04-01* editors/sed.c (process_file): Stop processing deleted lines.Matt Kraai
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
2002-03-27* testsuite/which/which-uses-default-path: Remove extra echo.Matt Kraai
2002-03-27* testsuite/grep/egrep-supports-extended-regexps: Check exit status insteadMatt Kraai
of output.
2002-03-27* testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags.Matt Kraai
* testsuite/gunzip/gunzip-reads-from-standard-input: Likewise.
2002-03-27* testsuite/COPYING: Remove.Matt Kraai
2002-03-27* archival/bunzip2.c (bunzip2_main): Remove compressed file.Matt Kraai
* testsuite/bunzip2/bunzip2-removes-compressed-file: New.
2002-03-27* testsuite/runtest (run_applet_testcase): Return test case status, notMatt Kraai
process ID.
2002-03-27* archival/bunzip2.c: Include <unistd.h>.Matt Kraai
(bunzip2_main): Read data from standard input if FILE argument is `-' or omitted. * include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite. * testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
2002-03-19* testsuite/grep/egrep-is-not-case-insensitive: RequireMatt Kraai
CONFIG_FEATURE_GREP_EGREP_ALIAS.
2002-03-19* testsuite/grep/grep-handles-binary-files: Read input from a pipe.Matt Kraai
* testsuite/grep/grep-matches-NUL: Likewise.
2002-03-19* networking/wget.c (parse_url): Allocate a string for the empty path.Matt Kraai
* testsuite/wget/wget-handles-empty-path: New.