aboutsummaryrefslogtreecommitdiff
path: root/testsuite (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* awk.tests: add test for recent large integer fixDenys Vlasenko2013-07-221-3/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix matching of newlines by $Denys Vlasenko2013-07-211-0/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix grep -x to not set REG_NOSUBJames Hogan2013-05-161-0/+14
| | | | | | | | | | | | | | | When -F isn't specified (and !ENABLE_EXTRA_COMPAT), grep -x uses regexec's regmatch_t output to determine if the match was the entire line. However it also set the REG_NOSUB flag which makes it ignore the regmatch_t argument. Add an exception to the setting of REG_NOSUB for OPT_x and add some test cases to test the behaviour of -x. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Natanael Copa <ncopa@alpinelinux.org> Cc: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: don't bail out on first mismatch if '-w' option is setBartosz Golaszewski2013-05-151-0/+6
| | | | | Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: Fix handling of functions with empty bodyBernhard Reutner-Fischer2013-03-131-0/+19
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* testsuite/du/du-k-works: fix false positiveKang Kai2013-01-281-0/+4
| | | | | Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix testsuite false positiveDenys Vlasenko2013-01-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix mode of dir1 in =dir1/dir2/file ruleDenys Vlasenko2013-01-211-1/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix grep -Fw not respecting the -w option. Closes 5792Denys Vlasenko2013-01-201-0/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3sum: new appletLauri Kasanen2013-01-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | function old new delta KeccakF - 496 +496 KeccakF_RoundConstants - 192 +192 sha3_hash - 171 +171 sha3_end - 40 +40 hash_file 274 299 +25 KeccakF_RotationConstants - 25 +25 KeccakF_PiLane - 25 +25 packed_usage 29213 29232 +19 sha3_begin - 18 +18 KeccakF_Mod5 - 10 +10 applet_names 2445 2453 +8 applet_main 1420 1424 +4 applet_nameofs 710 712 +2 ------------------------------------------------------------------------------ (add/remove: 8/0 grow/shrink: 9/7 up/down: 1049/-54) Total: ~995 bytes Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: make mkfs.minix test not fail spuriously on big endianYao Zhao2012-07-241-1/+9
| | | | | Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: fix FS assignment behavior. Closes 5108Denys Vlasenko2012-07-111-0/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: make -F STR interpret escape sequences. Closes 5126Denys Vlasenko2012-06-221-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix the wrongly stored fs creation timeDenys Vlasenko2012-06-211-1/+26
| | | | | | This bug made our ext2 images non-mountable by ext4 driver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: some more awk tests related to conditionsTanguy Pruvot2012-06-111-0/+7
| | | | | Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: yet another fix on top of zero length match codeDenys Vlasenko2012-06-081-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix breakage added by zero length match codeDenys Vlasenko2012-06-071-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix zero chars match/replaceDenys Vlasenko2012-06-041-2/+8
| | | | | | | function old new delta process_files 2099 2181 +82 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix for spurious testsuite failureDenys Vlasenko2012-05-101-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix handling of s/// which has empty matchesDenys Vlasenko2012-04-241-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: add a test that tar detects XZ-compressed dataDenys Vlasenko2012-03-061-0/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: merge bzcat2.tests into bzcat.testsDenys Vlasenko2011-10-312-28/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: fix the mishap in the previous commitDenys Vlasenko2011-10-313-27/+81
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bzcat: fix unpacking of more than one file, and unpacking of zero-size bz2. ↵Denys Vlasenko2011-10-312-53/+27
| | | | | | Closes 4393 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: split decode_base64 off read_base64Leonid Lisovskiy2011-10-281-3/+98
| | | | | | | | | | | function old new delta decode_base64 - 182 +182 read_base64 378 255 -123 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 182/-123) Total: 59 bytes Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: make -p count path components, not slashes (think /blah//thing)Rob Landley2011-10-101-0/+16
| | | | | Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tail: fix -c +N. Closes 4111Denys Vlasenko2011-09-171-0/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* awk: fix a SEGVDenys Vlasenko2011-09-111-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: be GNU compatible with -f EMPTY_FILELauri Kasanen2011-08-281-1/+17
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: make it able to create files (again)Rob Landley2011-08-221-1/+0
| | | | | | | | I broke patch's ability to create files in November, and nobody noticed in the ensuing 11 months. Sigh. Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* uncompress: fix buffer underrun by corrupted inputDenys Vlasenko2011-08-181-0/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* patch: add a test we currently failDenys Vlasenko2011-08-161-0/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: fix range handling for sed -i. Closes 4069Denys Vlasenko2011-08-161-3/+7
| | | | | | | | | | | function old new delta sed_main 606 618 +12 add_cmd 1099 1101 +2 process_files 2108 2099 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 14/-9) Total: 5 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* testsuite: fixes after randomconfig runDenys Vlasenko2011-08-112-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-102-21/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-105-4/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix false positive in parse testDenys Vlasenko2011-06-181-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* od: code shrink, fix "od --traditional FILE"Denys Vlasenko2011-05-211-1/+21
| | | | | | | | | function old new delta parse_old_offset 107 125 +18 packed_usage 28715 28691 -24 od_main 2312 2275 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sed: support \r in s commandDenys Vlasenko2011-05-031-0/+3
| | | | | | | function old new delta copy_parsing_escapes 65 91 +26 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: add a test for bind+rsharedDenys Vlasenko2011-03-141-1/+38
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix handling of symlinks by option -1Denys Vlasenko2011-03-121-0/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: skip leading / and handle names like abc/..////def -> def (not ///def)Denys Vlasenko2011-03-021-1/+1
| | | | | | | | | function old new delta strip_unsafe_prefix - 105 +105 writeFileToTarball 557 520 -37 get_header_tar 1545 1462 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: on extract, everything up to and including last ".." is strippedDenys Vlasenko2011-03-011-0/+17
| | | | | | | function old new delta get_header_tar 1493 1545 +52 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* echo: fix ENOSPC detection and some iffy code in \NNN handlingDenys Vlasenko2011-02-146-0/+14
| | | | | | | function old new delta echo_main 330 302 -28 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixDenys Vlasenko2011-02-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tar: fix a bug where autodetection messes up -z on extractDenys Vlasenko2011-02-061-0/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>