aboutsummaryrefslogtreecommitdiff
path: root/testsuite (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Colin Watson (mangled slightly by Rob Landley):landley2005-05-181-0/+14
| | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@10347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* egor duda writes:andersen2004-10-0819-44/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add two fundamental tests for copying directoriesbug12004-04-182-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor tar test updateandersen2004-04-061-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kill off the old 'tests' stuff. Write a ton of new tests for theandersen2004-04-0671-50/+316
| | | | | | | | | | 'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite 'runtest' script so it actually reports all failures and provides meaningful feedback. -Erik git-svn-id: svn://busybox.net/trunk/busybox@8692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the test suite script so it actually works and actually flagsandersen2004-04-061-4/+13
| | | | | | | | all errors as such. Make verbose mode exit on FAIL and provide a printout of the failed test run. git-svn-id: svn://busybox.net/trunk/busybox@8690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some test additionsandersen2004-04-055-0/+42
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8689 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Isolate code better for unused options, config option to enable longbug12003-12-265-3/+10
| | | | | | | options, add some conditions to the tar tests in testsuite. git-svn-id: svn://busybox.net/trunk/busybox@8182 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update status of tests which should passbug12003-11-203-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove controversial testsbug12003-11-202-15/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Configuration option to define wether to follows GNU sed's behaviour bug12003-09-162-1/+20
| | | | | | | | or the posix standard. Put the cleanup code back the way it was. git-svn-id: svn://busybox.net/trunk/busybox@7535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug that creapt in recently with substitution subprinting, and addbug12003-09-161-0/+9
| | | | | | | a test for it. git-svn-id: svn://busybox.net/trunk/busybox@7534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a simple mistake with pattern space, and add a test for itbug12003-09-151-0/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7529 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a test for the 'P' command and fix current implementation so itbug12003-09-151-0/+10
| | | | | | | doesnt permanently modify the pattern space. git-svn-id: svn://busybox.net/trunk/busybox@7521 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A test and fix for the sed 'n' commandbug12003-09-151-0/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7520 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Test for use of newline in regex's, this feature is used by mostbug12003-09-151-0/+10
| | | | | | | configure scripts. git-svn-id: svn://busybox.net/trunk/busybox@7519 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Test the N commandbug12003-09-151-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7517 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check sed doesnt go into an infinite loop (yes it does)bug12003-09-151-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update sed branch testsbug12003-09-143-15/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7506 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add two new tests, sed-recurses-properly should always workbug12003-09-143-1/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7505 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Handle -O preceding -x.kraai2003-05-181-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito to rework strings applet, and some testsuiteandersen2003-01-131-0/+8
| | | | | | | stuff to test it added by me. git-svn-id: svn://busybox.net/trunk/busybox@6324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* left out a \"bug12002-11-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6036 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This test was hangingbug12002-11-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6035 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/sed/sed-recurses-properly: Mark XFAIL.kraai2002-06-111-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standardkraai2002-04-151-0/+3
| | | | | | | | output. * testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New. git-svn-id: svn://busybox.net/trunk/busybox@4628 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sed can go into an infinite loopandersen2002-04-131-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4609 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * editors/sed.c (process_file): Stop processing deleted lines.kraai2002-04-011-0/+2
| | | | | | | * testsuite/sed/sed-does-not-substitute-in-delete-line: New. git-svn-id: svn://busybox.net/trunk/busybox@4514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/which/which-uses-default-path: Remove extra echo.kraai2002-03-271-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4498 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/grep/egrep-supports-extended-regexps: Check exit status insteadkraai2002-03-271-1/+1
| | | | | | | of output. git-svn-id: svn://busybox.net/trunk/busybox@4497 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags.kraai2002-03-272-2/+2
| | | | | | | * testsuite/gunzip/gunzip-reads-from-standard-input: Likewise. git-svn-id: svn://busybox.net/trunk/busybox@4496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/COPYING: Remove.kraai2002-03-271-340/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * archival/bunzip2.c (bunzip2_main): Remove compressed file.kraai2002-03-271-0/+3
| | | | | | | * testsuite/bunzip2/bunzip2-removes-compressed-file: New. git-svn-id: svn://busybox.net/trunk/busybox@4494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/runtest (run_applet_testcase): Return test case status, notkraai2002-03-271-2/+2
| | | | | | | process ID. git-svn-id: svn://busybox.net/trunk/busybox@4493 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * archival/bunzip2.c: Include <unistd.h>.kraai2002-03-271-0/+2
| | | | | | | | | | (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. git-svn-id: svn://busybox.net/trunk/busybox@4492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/grep/egrep-is-not-case-insensitive: Requirekraai2002-03-191-0/+1
| | | | | | | CONFIG_FEATURE_GREP_EGREP_ALIAS. git-svn-id: svn://busybox.net/trunk/busybox@4423 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/grep/grep-handles-binary-files: Read input from a pipe.kraai2002-03-192-4/+2
| | | | | | | * testsuite/grep/grep-matches-NUL: Likewise. git-svn-id: svn://busybox.net/trunk/busybox@4422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * networking/wget.c (parse_url): Allocate a string for the empty path.kraai2002-03-191-0/+1
| | | | | | | * testsuite/wget/wget-handles-empty-path: New. git-svn-id: svn://busybox.net/trunk/busybox@4416 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/runtest (show_result): Change UPASS to XPASS.kraai2002-02-191-4/+2
| | | | | | | (run_applet_testcase): Likewise. git-svn-id: svn://busybox.net/trunk/busybox@4241 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/README: Change "UNSUPPORTED" tag to "FEATURE".kraai2002-02-199-13/+14
| | | | | | | | | | | | | | | * testsuite/runtest (run_applet_testcase): Likewise. * testsuite/cp/cp-preserves-hard-links: Likewise. * testsuite/grep/egrep-supports-extended-regexps: Likewise. * testsuite/grep/grep-is-also-egrep: Likewise. * testsuite/tar/tar-archives-multiple-files: Likewise. * testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list: Likewise. * testsuite/tar/tar-handles-exclude-and-extract-lists: Likewise. * testsuite/tar/tar-handles-nested-exclude: Likewise. git-svn-id: svn://busybox.net/trunk/busybox@4240 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/runtest (run_applet_testcase): Return UNTESTED instead ofkraai2002-02-191-2/+2
| | | | | | | UNSUPPORTED for missing applets and features. git-svn-id: svn://busybox.net/trunk/busybox@4239 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/README: Fill to 80 columns.kraai2002-02-191-14/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4238 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/README: Update copyright date.kraai2002-02-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4237 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/tar/tar-archives-multiple-files: Requirekraai2002-02-191-0/+1
| | | | | | | CONFIG_FEATURE_TAR_CREATE. git-svn-id: svn://busybox.net/trunk/busybox@4236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/tar/tar-archives-multiple-files: New.kraai2002-02-171-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4225 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * archival/gzip.c (ifname, ofname): Delete.kraai2002-02-052-0/+6
| | | | | | | | | | | (gzip_main): Handle multiple files. * include/usage.h (gzip_trivial_usage): Allow multiple FILEs. (gzip_full_usage): Ditto. * testsuite/gzip/gzip-accepts-multiple-files: New. * testsuite/gzip/gzip-removes-original-file: New. git-svn-id: svn://busybox.net/trunk/busybox@4191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not segfault if PATH is unset.kraai2002-01-141-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * editors/sed.c (parse_edit_cmd): Rewrite.kraai2002-01-031-0/+9
| | | | | | | * testsuite/sed/sed-splits-edit-commands-on-command-line: New. git-svn-id: svn://busybox.net/trunk/busybox@4010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * cmp/cmp-detects-difference: Simplify return code negation.kraai2002-01-024-20/+4
| | | | | | | | | * false/false-returns-failure: Likewise. * tar/tar-demands-at-least-one-ctx: Likewise. * tar/tar-demands-at-most-one-ctx: Likewise. git-svn-id: svn://busybox.net/trunk/busybox@3995 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/README: Document -v option.kraai2002-01-022-12/+32
| | | | | | | | | * testsuite/runtest: Handle -v option. (show_result): New. (run_applet_testcase): Call it. git-svn-id: svn://busybox.net/trunk/busybox@3994 69ca8d6d-28ef-0310-b511-8ec308f3f277