aboutsummaryrefslogtreecommitdiff
path: root/testsuite (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tar: fix "hardlinks to symlinks chown" bug 1519.Denys Vlasenko2010-04-091-0/+29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix mishandling of repeated hardlink in tarball; expand testsDenys Vlasenko2010-04-091-7/+45
| | | | | | | | function old new delta data_extract_all 727 767 +40 get_header_tar 1576 1572 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite fixesChris Metcalf2010-04-024-4/+16
| | | | | Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cpio test: fix false positive with DESKTOP offDenys Vlasenko2010-03-281-3/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unicode: s/FEATURE_ASSUME_UNICODE/UNICODE_SUPPORT, add UNICODE_USING_LOCALEDenys Vlasenko2010-03-262-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unexpand: fix "a b"\n" input caseTomas Heinrich2010-03-261-0/+3
| | | | | Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ar: add archive creation supportAlexander Shishkin2010-03-151-0/+27
| | | | | | | | | | | | | | | | function old new delta ar_main 184 542 +358 output_ar_header - 166 +166 copy_data - 54 +54 filter_replaceable - 19 +19 get_header_ar 409 414 +5 header_verbose_list_ar 85 88 +3 static.msg_unsupported_err 28 - -28 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 3/0 up/down: 605/-28) Total: 577 bytes Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: don't run grep NUL tests when we know the would failDenys Vlasenko2010-03-142-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: fix another corner case with bad unicode inputDenys Vlasenko2010-03-111-6/+20
| | | | | | | | | | | | | | | | | function old new delta read_key 607 646 +39 readit 50 55 +5 getch_nowait 290 295 +5 hash_find 233 234 +1 xstrtoul_range_sfx 231 230 -1 passwd_main 1058 1056 -2 builtin_exit 45 43 -2 cmp_main 649 645 -4 lineedit_read_key 257 245 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/5 up/down: 50/-21) Total: 29 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: add two tests we currently failDenys Vlasenko2010-03-111-16/+97
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: fix the case where nested "for" loops with the same variable misbehaveDenys Vlasenko2010-03-101-0/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lineedit: invalid unicode characters are replaced with CONFIG_SUBST_WCHARTomas Heinrich2010-03-091-0/+42
| | | | | | | | | function old new delta read_key_ungets - 50 +50 lineedit_read_key 223 252 +29 Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: skip whitespace between array name and subscriptAlexander Shishkin2010-02-261-0/+3
| | | | | | | | | | | | | It is supported in both mawk and gawk and there are actually scripts out there that use this "flexibility". function old new delta next_token 1144 1152 +8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 8/0) Total: 8 bytes Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unicode: exclude FDD0..FDEF range tooDenys Vlasenko2010-01-311-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* exclude more invalid unicode charsDenys Vlasenko2010-01-311-1/+120
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2010-01-311-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix handling of broken unicode sequencesDenys Vlasenko2010-01-311-22/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: unicode fixesDenys Vlasenko2010-01-312-0/+247
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cal: add a unicode testDenys Vlasenko2010-01-312-2/+42
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite-discovered fixesDenys Vlasenko2010-01-252-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: fix flag -B, cleanups and a couple more tests V2Matheus Izvekov2010-01-221-0/+31
| | | | | | | | | function old new delta diffreg 1157 1268 +111 uni_range 51 - -51 Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: rewrite. much smaller and more correctMatheus Izvekov2010-01-181-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta diffreg 1815 3156 +1341 diff_main 860 1194 +334 read_token - 161 +161 skip_dir - 44 +44 seek_ft - 31 +31 fetch 362 392 +30 line_compar - 21 +21 add_to_dirlist 65 61 -4 print_only 16 - -16 skipline 51 - -51 newcand 85 - -85 asciifile 89 - -89 print_status 178 73 -105 make_temp 148 - -148 files_differ 168 - -168 get_recursive_dirlist 182 - -182 sort 226 - -226 prepare 283 - -283 change 283 - -283 do_diff 416 - -416 dump_unified_vec 457 - -457 check 1512 595 -917 ------------------------------------------------------------------------------ (add/remove: 4/12 grow/shrink: 3/3 up/down: 1962/-3430) Total: -1468 bytes Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* diff: add more testsDenys Vlasenko2010-01-181-1/+29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bunzip2.tests: replace $? with \$?Denys Vlasenko2010-01-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix testing of busybox "applet" itselfDenys Vlasenko2010-01-162-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: improve test coverageDenys Vlasenko2010-01-161-81/+81
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: fix -H handlingDenys Vlasenko2010-01-151-0/+206
| | | | | | | function old new delta copy_file 1495 1518 +23 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cpio: add a test for recent fixDenys Vlasenko2010-01-101-0/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cpio: fix unpacking of names with leading slashesDenys Vlasenko2010-01-051-1/+3
| | | | | | | | function old new delta get_header_cpio 968 990 +22 cpio_main 533 526 -7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fold: unicode support. Based on a patch by Tomas Heinrich ↵Denys Vlasenko2010-01-041-2/+47
| | | | | | | | | | | | | | | | | | | | <heinrich.tomas@gmail.com> General Unicode support is tweaked to expose unicode_status. function old new delta init_unicode - 77 +77 write2stdout - 19 +19 adjust_column 68 71 +3 unicode_status - 1 +1 unicode_is_enabled 1 - -1 grep_main 780 773 -7 fold_main 619 552 -67 check_unicode_in_env 77 - -77 ------------------------------------------------------------------------------ (add/remove: 3/2 grow/shrink: 1/2 up/down: 100/-152) Total: -52 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* [un]expand: unicode supportTomas Heinrich2010-01-042-0/+9
| | | | | | | | function old new delta expand_main 633 663 +30 Signed-off-by: Tomas Heinrich <heinrich.tomas@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: add support for --overwrite. +70 bytes.Denys Vlasenko2009-12-161-0/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libunarchive: move dpkg-specific things into dpkg.c. 0 byte size differencesDenys Vlasenko2009-12-161-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sort: make sort -o FILE FILE (same FILE) work. Closes bug 785. -3 bytesDenys Vlasenko2009-12-131-0/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix a case when -o loops foreverDenys Vlasenko2009-12-041-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: fix an incorrect casting to string (bug 725). -44 bytes.Denys Vlasenko2009-11-301-0/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: add a test for latest fixDenys Vlasenko2009-11-291-0/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use utimes() rather than obsolescent utime()Bernhard Reutner-Fischer2009-11-151-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* all_sourcecode.tests: check commented out applet order tooMike Frysinger2009-11-041-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: fix POSIX shell source styleMike Frysinger2009-11-0435-36/+36
| | | | | | | The source command does not search $PWD, and bash recently fixed itself to follow this behavior for /bin/sh. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fold: fix a corner case. By Tomas Heinrich (heinrich.tomas AT gmail.com)Denys Vlasenko2009-11-041-0/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: add another test (currently fails)Denys Vlasenko2009-10-251-0/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: add longopts, --dry-run, add one more testDenys Vlasenko2009-10-241-6/+41
| | | | | | | | | | | function old new delta patch_main 1110 1214 +104 static.patch_longopts - 47 +47 packed_usage 26738 26761 +23 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 174/0) Total: 174 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: add support for --parents and long option synonyms of short optsDenys Vlasenko2009-09-261-0/+5
| | | | | | | | | | | | | | By Ian Wienand (ianw AT vmware.com) function old new delta cp_main 257 369 +112 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 112/0) Total: 112 bytes text data bss dec hex filename 823000 458 6948 830406 cabc6 busybox_old 823283 458 6948 830689 cace1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)Denys Vlasenko2009-09-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix " echo /usr/lib | sed 's,\(^/\|\)[^/][^/]*,..,g' " bugDenys Vlasenko2009-08-171-0/+7
| | | | | | | function old new delta process_files 2102 2091 -11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tail: fix "tail +N file_shorter_than_N"Denys Vlasenko2009-08-091-0/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* correct mode of testsuite/rx.testsDenys Vlasenko2009-08-031-0/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rx: strip padding from last block. closes bug 501.Denys Vlasenko2009-08-021-0/+27
| | | | | | | function old new delta rx_main 876 974 +98 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix -E + {range}; fix -o not printing all matches (bug 489)Denys Vlasenko2009-07-291-0/+5
| | | | | | | | | two different bugs, one with EXTRA_COMPAT, other without. function old new delta grep_file 1132 1129 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>