Eric Andersen
7daa076d3e
egor duda writes:
...
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-10-08 07:46:08 +00:00
Glenn L McGrath
c6a99b993d
Add two fundamental tests for copying directories
2004-04-18 13:35:56 +00:00
Eric Andersen
5c1ee519ea
Minor tar test update
2004-04-06 11:34:02 +00:00
Eric Andersen
650fe63467
Kill off the old 'tests' stuff. Write a ton of new tests for the
...
'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-06 11:10:30 +00:00
Eric Andersen
c354f6ee54
Fix the test suite script so it actually works and actually flags
...
all errors as such. Make verbose mode exit on FAIL and provide a
printout of the failed test run.
2004-04-06 00:41:39 +00:00
Eric Andersen
b2e267f153
Some test additions
2004-04-05 18:46:24 +00:00
Glenn L McGrath
ce91c8ac2b
Isolate code better for unused options, config option to enable long
...
options, add some conditions to the tar tests in testsuite.
2003-12-26 14:01:37 +00:00
Glenn L McGrath
d9c8ab40a4
Update status of tests which should pass
2003-11-20 09:57:44 +00:00
Glenn L McGrath
3a2fcc63b8
remove controversial tests
2003-11-20 09:56:34 +00:00
Glenn L McGrath
2570b43e82
Configuration option to define wether to follows GNU sed's behaviour
...
or the posix standard.
Put the cleanup code back the way it was.
2003-09-16 05:25:43 +00:00
Glenn L McGrath
204ff1cea4
Fix a bug that creapt in recently with substitution subprinting, and add
...
a test for it.
2003-09-16 01:46:36 +00:00
Glenn L McGrath
977451ef44
Fix a simple mistake with pattern space, and add a test for it
2003-09-15 12:07:48 +00:00
Glenn L McGrath
2eed0e2d47
Add a test for the 'P' command and fix current implementation so it
...
doesnt permanently modify the pattern space.
2003-09-15 06:28:45 +00:00
Glenn L McGrath
6e5687abc3
A test and fix for the sed 'n' command
2003-09-15 06:12:53 +00:00
Glenn L McGrath
7b35121297
Test for use of newline in regex's, this feature is used by most
...
configure scripts.
2003-09-15 05:53:28 +00:00
Glenn L McGrath
65f9dc01f3
Test the N command
2003-09-15 05:35:47 +00:00
Glenn L McGrath
ba5eb27ce3
Check sed doesnt go into an infinite loop (yes it does)
2003-09-15 04:41:17 +00:00
Glenn L McGrath
7bf8f5bc5e
Update sed branch tests
2003-09-14 11:10:08 +00:00
Glenn L McGrath
8a0b59fb82
Add two new tests, sed-recurses-properly should always work
2003-09-14 09:38:24 +00:00
Matt Kraai
0861e828d0
Handle -O preceding -x.
2003-05-18 21:12:36 +00:00
Eric Andersen
65ddf77fbd
Patch from Tito to rework strings applet, and some testsuite
...
stuff to test it added by me.
2003-01-13 23:19:31 +00:00
Glenn L McGrath
9c802416ab
left out a \"
2002-11-28 00:51:38 +00:00
Glenn L McGrath
73ceca275e
This test was hanging
2002-11-28 00:47:49 +00:00
Matt Kraai
3ad88ccf2d
* testsuite/sed/sed-recurses-properly: Mark XFAIL.
2002-06-11 13:29:08 +00:00
Matt Kraai
a0782684fd
* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
...
output.
* testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
2002-04-15 15:01:37 +00:00
Eric Andersen
3e6908b586
Sed can go into an infinite loop
2002-04-13 13:18:15 +00:00
Matt Kraai
5c69cd84ff
* editors/sed.c (process_file): Stop processing deleted lines.
...
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
2002-04-01 16:17:37 +00:00
Matt Kraai
8a8308f129
* testsuite/which/which-uses-default-path: Remove extra echo.
2002-03-27 23:19:17 +00:00
Matt Kraai
66388f89a5
* testsuite/grep/egrep-supports-extended-regexps: Check exit status instead
...
of output.
2002-03-27 22:56:19 +00:00
Matt Kraai
50aec98e1c
* testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags.
...
* testsuite/gunzip/gunzip-reads-from-standard-input: Likewise.
2002-03-27 22:48:39 +00:00
Matt Kraai
6feaeace86
* testsuite/COPYING: Remove.
2002-03-27 22:43:47 +00:00
Matt Kraai
cf32ac543c
* archival/bunzip2.c (bunzip2_main): Remove compressed file.
...
* testsuite/bunzip2/bunzip2-removes-compressed-file: New.
2002-03-27 17:46:44 +00:00
Matt Kraai
35d60421b4
* testsuite/runtest (run_applet_testcase): Return test case status, not
...
process ID.
2002-03-27 17:33:31 +00:00
Matt Kraai
9cdb0601eb
* archival/bunzip2.c: Include <unistd.h>.
...
(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-27 17:31:01 +00:00
Matt Kraai
aee53f4604
* testsuite/grep/egrep-is-not-case-insensitive: Require
...
CONFIG_FEATURE_GREP_EGREP_ALIAS.
2002-03-19 23:47:49 +00:00
Matt Kraai
b3de66869b
* testsuite/grep/grep-handles-binary-files: Read input from a pipe.
...
* testsuite/grep/grep-matches-NUL: Likewise.
2002-03-19 23:46:16 +00:00
Matt Kraai
0efab3319d
* networking/wget.c (parse_url): Allocate a string for the empty path.
...
* testsuite/wget/wget-handles-empty-path: New.
2002-03-19 15:22:42 +00:00
Matt Kraai
fa144713b8
* testsuite/runtest (show_result): Change UPASS to XPASS.
...
(run_applet_testcase): Likewise.
2002-02-19 23:54:42 +00:00
Matt Kraai
6b140ea5a9
* testsuite/README: Change "UNSUPPORTED" tag to "FEATURE".
...
* 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.
2002-02-19 23:43:08 +00:00
Matt Kraai
7c71822809
* testsuite/runtest (run_applet_testcase): Return UNTESTED instead of
...
UNSUPPORTED for missing applets and features.
2002-02-19 23:38:08 +00:00
Matt Kraai
b5b757eb8d
* testsuite/README: Fill to 80 columns.
2002-02-19 23:20:52 +00:00
Matt Kraai
6be2319873
* testsuite/README: Update copyright date.
2002-02-19 23:19:46 +00:00
Matt Kraai
ad6faf6497
* testsuite/tar/tar-archives-multiple-files: Require
...
CONFIG_FEATURE_TAR_CREATE.
2002-02-19 23:15:41 +00:00
Matt Kraai
c00e4ff8e5
* testsuite/tar/tar-archives-multiple-files: New.
2002-02-17 18:42:52 +00:00
Matt Kraai
9bd49d6a22
* archival/gzip.c (ifname, ofname): Delete.
...
(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.
2002-02-05 22:31:48 +00:00
Matt Kraai
a3181dd833
Do not segfault if PATH is unset.
2002-01-14 18:30:10 +00:00
Matt Kraai
5ed78adca5
* editors/sed.c (parse_edit_cmd): Rewrite.
...
* testsuite/sed/sed-splits-edit-commands-on-command-line: New.
2002-01-03 21:12:34 +00:00
Matt Kraai
f3fbe20c35
* cmp/cmp-detects-difference: Simplify return code negation.
...
* false/false-returns-failure: Likewise.
* tar/tar-demands-at-least-one-ctx: Likewise.
* tar/tar-demands-at-most-one-ctx: Likewise.
2002-01-02 20:45:42 +00:00
Matt Kraai
01d2ea908b
* testsuite/README: Document -v option.
...
* testsuite/runtest: Handle -v option.
(show_result): New.
(run_applet_testcase): Call it.
2002-01-02 20:37:59 +00:00
Matt Kraai
d21735de2d
* editors/sed.c (parse_edit_command): Require a newline after the backslash
...
after an edit command.
* testsuite/sed/sed-requires-newline-after-edit-command: New.
2002-01-02 17:56:38 +00:00
Matt Kraai
70624846fd
Ignore blanks before the first address and before the command.
2001-12-21 16:04:12 +00:00
Matt Kraai
1fcc66e685
New.
2001-12-21 15:54:25 +00:00
Matt Kraai
2b1effdbbc
Write files when extracting an archive from standard input.
2001-12-20 22:09:31 +00:00
Matt Kraai
c5b5cab37d
Remove dependence on CONFIG_FEATURE_CLEAN_UP.
2001-12-20 21:13:18 +00:00
Matt Kraai
ace02dc9cd
Make cp and mv optionally preserve hard links.
2001-12-17 15:26:36 +00:00
Matt Kraai
14b7c5d12b
Open the source before creating the destination.
2001-12-11 16:43:48 +00:00
Matt Kraai
07a37aebf5
New.
2001-12-07 21:27:57 +00:00
Matt Kraai
1a781a499f
Enable test only if CONFIG_FEATURE_GREP_EGREP_ALIAS is defined.
2001-12-07 21:24:25 +00:00
Matt Kraai
1dbd6ff80f
New.
2001-11-20 16:04:22 +00:00
Matt Kraai
fd3f1be57f
New.
2001-11-20 15:49:55 +00:00
Matt Kraai
36c613a443
Update usage instructions, and document test case format.
2001-11-19 19:28:56 +00:00
Matt Kraai
9dfe508a3f
New.
2001-11-19 19:00:13 +00:00
Matt Kraai
03bb3088b0
New.
2001-11-19 15:13:12 +00:00
Matt Kraai
6c5fdfaf56
New.
2001-11-12 18:42:57 +00:00
Eric Andersen
c52a6b0f10
|2001-10-08 Rodney Brown <rbrown64@csc.com.au>
...
|
| * editors/sed.c: Fix multiline [aic] commands. Make # an endline
| comment for compatibility. Codespace reduction.
| * tests/testcases: Cope with move to subdirectories.
| * testsuite/sed/sed-aic-commands: Add.
|
| text data bss dec hex filename
| 3772 16 0 3788 ecc editors/sed.o
| 4516 16 0 4532 11b4 editors/sed.o.bu
2001-11-10 10:49:42 +00:00
Matt Kraai
b89637a037
New.
2001-10-31 16:36:23 +00:00
Matt Kraai
5447f17ef9
Remove completed task.
2001-10-31 16:36:02 +00:00
Matt Kraai
f419855300
Mark as unsupported unless CONFIG_FEATURE_TAR_EXCLUDE is defined.
2001-10-31 16:18:48 +00:00
Matt Kraai
bb0088e980
Make egrep only set REG_EXTENDED flag.
2001-10-31 16:16:31 +00:00
Matt Kraai
3889078dbe
Merge test suite.
2001-10-30 23:11:20 +00:00