summaryrefslogtreecommitdiff
path: root/testsuite (follow)
Commit message (Collapse)AuthorAgeFilesLines
* date: preserve isdst value if date is in time_t (unix time) formatAlexey Soloviev2010-12-311-0/+13
| | | | | Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add a test for patch which we currently failDenys Vlasenko2010-11-282-0/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes for bugs discovered by randomconfig builds and testsDenys Vlasenko2010-11-222-1/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: busyboxify by migrating from toybox to busybox helpersDenys Vlasenko2010-11-211-2/+2
| | | | | | | | | | | | | | function old new delta get_line 90 128 +38 bbconfig_config_bz2 4959 4965 +6 makedevs_main 1038 1035 -3 fail_hunk 133 130 -3 finish_oldfile 174 124 -50 patch_main 2066 1987 -79 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/4 up/down: 44/-135) Total: -91 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* decompress_bunzip2: handle concatenated .bz2 filesDenys Vlasenko2010-10-281-2/+29
| | | | | | | | | | function old new delta unpack_bz2_stream 207 307 +100 start_bunzip 199 209 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 110/0) Total: 110 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: fix segfault on closing non-opened fileDenys Vlasenko2010-10-231-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cpio: avoid 'not created: newer or same age file exists' message for dirsPascal Bellard2010-10-181-0/+10
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shaN: small code shrinkDenys Vlasenko2010-10-161-11/+3
| | | | | | | | function old new delta sha512_hash 134 128 -6 sha1_hash 114 106 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: add tests for {ms5,shaN}sumDenys Vlasenko2010-10-165-1/+56
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: 00.123 is not a octal constant; neither is 009.123. fixing thisDenys Vlasenko2010-10-051-0/+6
| | | | | | | function old new delta my_strtod 80 113 +33 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Fixed a couple of failing tar testsDan Fandrich2010-09-121-4/+5
| | | | | | | | | The tar symlinks mode test is fixed similarly to the hardlinks test in 0d7cb4cc, and the read-only test is skipped by SKIP_KNOWN_BUGS. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tar: add a test for extraction of read-only directoryDan Fandrich2010-09-051-0/+25
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fix false positive in testsuite/tar.testsDenys Vlasenko2010-09-031-4/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Fix some test casesDan Fandrich2010-09-033-5/+14
| | | | | | | | The tar tests still don't pass, but at least now it's because of a problem with Busybox and not the tests themselves. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* testsuite: show the number of failures after a test runDan Fandrich2010-08-294-2/+21
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix -o match with empty string (suggested by Colin Watson ↵Denys Vlasenko2010-08-231-0/+4
| | | | | | | | | <cjwatson@ubuntu.com>) function old new delta grep_file 1216 1251 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: support "patch [FILE [PATCH]]" formatDenys Vlasenko2010-08-221-1/+23
| | | | | | | | function old new delta xopen_stdin - 15 +15 patch_main 2075 2041 -34 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-1642-42/+42
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: make N command behave as in GNU sedDenys Vlasenko2010-08-161-3/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix non-working device deletion, add a test for thatDenys Vlasenko2010-08-161-0/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: uncomment the test which we actually do pass nowDenys Vlasenko2010-08-161-4/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: add -N and a test for it (fails for now)Denys Vlasenko2010-08-161-1/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: replace it with toybox's implementationRob Landley2010-08-132-6/+10
| | | | | Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Improved portability of testsDan Fandrich2010-08-118-5/+24
| | | | | | | | Removed assumptions about umask and locale. Fixed hostname tests to work even when the host has no DNS domain set. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed.tests: make last test less confusingDenys Vlasenko2010-08-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix sed -i: unlike without -i, it does not forget rangesDenys Vlasenko2010-08-011-1/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: typo in tr.testsLeonid Lisovskiy2010-07-292-4/+4
| | | | | | | | | | | | | Hi tr.tests script from bb 1.17 testsuite has wrong "optional" conditional clauses. As result, some tr tests was skipped even if CONFIG_FEATURE_TR_CLASSES=y. Patch attached fixes problem for me. - Leonid Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* *: trailing empty lines removedDenys Vlasenko2010-07-266-6/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: fix "diff dir1 dir2/". Closes bug 2203Matheus Izvekov2010-07-091-2/+29
| | | | | Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* [un]expand: fix testsuiteDenys Vlasenko2010-07-062-4/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2010-07-059-16/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cpio.tests: mention suid bits too, not only sgidDenys Vlasenko2010-06-181-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* data_extract_all: do not chmod symlink. Closes 2053Denys Vlasenko2010-06-181-9/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: fix accounting of -sNUMDenys Vlasenko2010-06-131-1/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: code shrink -15 bytesDenys Vlasenko2010-06-131-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix a case when one-line range matches past lines. Closes bug 1867.Denys Vlasenko2010-06-041-0/+5
| | | | | | | | | | function old new delta process_files 2096 2107 +11 add_cmd 1142 1132 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 11/-10) Total: 1 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-1216-35/+51
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix a command with multible trailing backslashesDenys Vlasenko2010-05-122-1/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-113-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-114-6/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomtest fixesDenys Vlasenko2010-05-1130-28/+89
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more randomconfig testsuite fixesDenys Vlasenko2010-05-105-18/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig testsuite fixesDenys Vlasenko2010-05-1010-6/+43
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* work on adding testsuite runs to randomconfig test buildsDenys Vlasenko2010-05-102-0/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix -FiIan Wienand2010-04-301-0/+2
| | | | | | | | function old new delta grep_file 1151 1169 +18 Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/lineedit: add support for preserving "broken" (non-unicode) charsTomas Heinrich2010-04-291-0/+24
| | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cpio: "NNN blocks" should go to stderrMatheus Izvekov2010-04-261-4/+4
| | | | | Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix nested {} caseDenys Vlasenko2010-04-201-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix c cmdDenys Vlasenko2010-04-191-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix "hardlinks to symlinks chown" bug 1519.Denys Vlasenko2010-04-091-0/+29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>