OSDN Git Service

android-x86/external-toybox.git
6 years agorelease-request-63504342-e033-4b9f-9c68-68bdd28fdc7c-for-git_oc-mr1-release-4054002...
android-build-team Robot [Wed, 31 May 2017 07:27:10 +0000 (07:27 +0000)]
release-request-63504342-e033-4b9f-9c68-68bdd28fdc7c-for-git_oc-mr1-release-4054002 snap-temp-L53000000069019913

Change-Id: Ie9119bb4acdbde297159e27a239819163f8f0d22

6 years agotoybox: Enable LSPCI functionality am: 1014fe7467 am: 08d5751f0e am: 107f33d5e4
Dmitry Shmidt [Wed, 31 May 2017 00:46:21 +0000 (00:46 +0000)]
toybox: Enable LSPCI functionality am: 1014fe7467 am: 08d5751f0e am: 107f33d5e4
am: 452612c13b

Change-Id: I47a013aba8a0b992ed0276cdc62c95b22158adbb

6 years agotoybox: Enable LSPCI functionality am: 1014fe7467 am: 08d5751f0e
Dmitry Shmidt [Wed, 31 May 2017 00:31:38 +0000 (00:31 +0000)]
toybox: Enable LSPCI functionality am: 1014fe7467 am: 08d5751f0e
am: 107f33d5e4

Change-Id: I829bc3e4116dacb9cab4d2cf4bd2d9edd3179f87

6 years agotoybox: Enable LSPCI functionality am: 1014fe7467
Dmitry Shmidt [Wed, 31 May 2017 00:27:37 +0000 (00:27 +0000)]
toybox: Enable LSPCI functionality am: 1014fe7467
am: 08d5751f0e

Change-Id: Ib5782ab2d9cc4351ff1c241aaa7f83fe816ac02b

6 years agotoybox: Enable LSPCI functionality
Dmitry Shmidt [Wed, 31 May 2017 00:24:08 +0000 (00:24 +0000)]
toybox: Enable LSPCI functionality
am: 1014fe7467

Change-Id: I44fa133b69cef11d2723275d82efa99f2cff3d97

6 years agotoybox: Enable LSPCI functionality
Dmitry Shmidt [Tue, 30 May 2017 22:25:12 +0000 (15:25 -0700)]
toybox: Enable LSPCI functionality

Bug: 37852727
Test: Manual

Change-Id: I6c3767f7d888f07093593f715190f6131949421a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
6 years agorelease-request-80d7cd88-53c4-4e65-952a-f34bc86a0841-for-git_oc-mr1-release-4050000...
android-build-team Robot [Sun, 28 May 2017 07:38:40 +0000 (07:38 +0000)]
release-request-80d7cd88-53c4-4e65-952a-f34bc86a0841-for-git_oc-mr1-release-4050000 snap-temp-L22200000068540971

Change-Id: I9c02bf31697bf6c59adf93ed636843fb8cf9014c

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 3233e2f9c1 am: 5aa96f14c1...
Elliott Hughes [Fri, 26 May 2017 00:04:34 +0000 (00:04 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 3233e2f9c1 am: 5aa96f14c1 am: 79cc039a81
am: 802a63d203

Change-Id: I25ee3cd2469640dfe4ecdc7b97636a3aa03fa891

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 3233e2f9c1 am: 5aa96f14c1
Elliott Hughes [Thu, 25 May 2017 23:49:59 +0000 (23:49 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 3233e2f9c1 am: 5aa96f14c1
am: 79cc039a81

Change-Id: I9766ab17027afb62730f63119cb9b186ca041008

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 3233e2f9c1
Elliott Hughes [Thu, 25 May 2017 23:45:29 +0000 (23:45 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 3233e2f9c1
am: 5aa96f14c1

Change-Id: I3ecf7f93f6eab051b753c65952f801c5645ac8c4

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Thu, 25 May 2017 23:40:31 +0000 (23:40 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: 3233e2f9c1

Change-Id: Iabb93478d99e3b15b48ceafb0284fc41418bcf59

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Thu, 25 May 2017 21:16:21 +0000 (14:16 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: I509bcbfc1215b09f0b4559397408a8e785395651

7 years agoAdd -0 to env.
Rob Landley [Thu, 25 May 2017 18:27:22 +0000 (13:27 -0500)]
Add -0 to env.

7 years agoTeach env that - as first argument means -i for some reason. (Posix!)
Rob Landley [Thu, 25 May 2017 18:00:00 +0000 (13:00 -0500)]
Teach env that - as first argument means -i for some reason. (Posix!)

7 years agoAdd and use xmmap.
Elliott Hughes [Wed, 24 May 2017 00:35:49 +0000 (17:35 -0700)]
Add and use xmmap.

Everyone forgets that mmap returns MAP_FAILED rather than NULL on failure.
Every use of mmap in toybox was either doing the wrong check, or no check
at all (including the two I personally added).

7 years agoAdd minof/maxof macros that autodetect type. Make xzcat use them.
Rob Landley [Tue, 23 May 2017 20:48:26 +0000 (15:48 -0500)]
Add minof/maxof macros that autodetect type. Make xzcat use them.

7 years agofixup code style
Joyounger [Tue, 23 May 2017 16:36:35 +0000 (00:36 +0800)]
fixup code style

Signed-off-by: Joyounger <aquanox@163.com>
7 years agoPromote chrt
Rob Landley [Sun, 21 May 2017 18:23:34 +0000 (13:23 -0500)]
Promote chrt

7 years agoCleaup chrt
Rob Landley [Sun, 21 May 2017 18:11:42 +0000 (13:11 -0500)]
Cleaup chrt

7 years agoAdd bzip2 support to tar.
Elliott Hughes [Sat, 13 May 2017 01:30:03 +0000 (18:30 -0700)]
Add bzip2 support to tar.

Also trivial cleanup of pipe -> xpipe.

Bug: http://b/38215123

7 years agoImplement date %N, loosely inspired by Elliott Hughes's patch.
Rob Landley [Fri, 19 May 2017 17:35:36 +0000 (12:35 -0500)]
Implement date %N, loosely inspired by Elliott Hughes's patch.

I didn't implement %37N's ability to insert zeroes, so removed those
two tests. If you really need it, I can add the divide loop back.

7 years agorelease-request-655284b0-7f0b-48b5-b01d-27f48a99f2c0-for-git_oc-mr1-release-4017105...
android-build-team Robot [Wed, 17 May 2017 07:56:58 +0000 (07:56 +0000)]
release-request-655284b0-7f0b-48b5-b01d-27f48a99f2c0-for-git_oc-mr1-release-4017105 snap-temp-L82600000064873863

Change-Id: I5064acedb94314f10fdc2b1df6f9f0cb0900a785

7 years agofactor shouldn't give incorrect answers for >64-bit integers.
Elliott Hughes [Sat, 13 May 2017 19:48:35 +0000 (12:48 -0700)]
factor shouldn't give incorrect answers for >64-bit integers.

7 years agoMinor tweaks to install.sh.
Rob Landley [Sun, 14 May 2017 20:10:29 +0000 (15:10 -0500)]
Minor tweaks to install.sh.

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: d94bd8e917 am: db6c38177a...
Elliott Hughes [Fri, 12 May 2017 07:24:07 +0000 (07:24 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: d94bd8e917 am: db6c38177a am: c8e7472945
am: 9ad4b73c95

Change-Id: Ic382b27a6cdc81157dcc6e0dee7a322b6f035109

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: d94bd8e917 am: db6c38177a
Elliott Hughes [Fri, 12 May 2017 03:27:04 +0000 (03:27 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: d94bd8e917 am: db6c38177a
am: c8e7472945

Change-Id: I3d28b09f9df6ee737452fe68ba6d92568e3342e4

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: d94bd8e917
Elliott Hughes [Fri, 12 May 2017 02:33:23 +0000 (02:33 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: d94bd8e917
am: db6c38177a

Change-Id: Icec86477f8ea713f6d1044ac3c71081a69c3b42c

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Fri, 12 May 2017 02:31:24 +0000 (02:31 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: d94bd8e917

Change-Id: Ibb56d49b198ca37e38053392f744c9f0128910d8

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Fri, 12 May 2017 00:21:45 +0000 (17:21 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: I6f2e84dbc875ca0e85c0a87685fd2bd39d1df617

7 years agoSwitch to testcmd and add "-e all but \c" test.
Rob Landley [Thu, 11 May 2017 17:31:43 +0000 (12:31 -0500)]
Switch to testcmd and add "-e all but \c" test.

7 years agoMake fewer assumptions about the shell in echo.test.
Elliott Hughes [Wed, 10 May 2017 20:51:44 +0000 (13:51 -0700)]
Make fewer assumptions about the shell in echo.test.

This test fails with mksh, but we're not here to test mksh.

7 years agoAdd all the toybox symbolic links to recovery. am: 1ca2399829 am: 26c2d744af am:...
Elliott Hughes [Wed, 10 May 2017 23:31:03 +0000 (23:31 +0000)]
Add all the toybox symbolic links to recovery. am: 1ca2399829 am: 26c2d744af am: cdbdc705c0
am: 9a01506882

Change-Id: I68b38c2839152593b1950f91dde42dade5352250

7 years agoAdd all the toybox symbolic links to recovery. am: 1ca2399829 am: 26c2d744af
Elliott Hughes [Wed, 10 May 2017 20:27:04 +0000 (20:27 +0000)]
Add all the toybox symbolic links to recovery. am: 1ca2399829 am: 26c2d744af
am: cdbdc705c0

Change-Id: I0795eee3b61fb0acf762e49179bcc301e3f7d57d

7 years agoAdd all the toybox symbolic links to recovery. am: 1ca2399829
Elliott Hughes [Wed, 10 May 2017 20:07:39 +0000 (20:07 +0000)]
Add all the toybox symbolic links to recovery. am: 1ca2399829
am: 26c2d744af

Change-Id: Id005f4465c2980feb2e3ff0ca29fcb04c3b60fe6

7 years agoAdd all the toybox symbolic links to recovery.
Elliott Hughes [Wed, 10 May 2017 20:05:09 +0000 (20:05 +0000)]
Add all the toybox symbolic links to recovery.
am: 1ca2399829

Change-Id: I3d74c9de5b0620fc5699f8afbae869531bdf246c

7 years agoMove strend() to lib/lib.c
Rob Landley [Tue, 9 May 2017 04:01:06 +0000 (23:01 -0500)]
Move strend() to lib/lib.c

7 years agoRemove old uClibc compatibility glue. It's been 5 years since the last release.
Rob Landley [Tue, 9 May 2017 03:09:08 +0000 (22:09 -0500)]
Remove old uClibc compatibility glue. It's been 5 years since the last release.
See http://lists.busybox.net/pipermail/buildroot/2016-December/180102.html
for a full post-mortem on the project.

7 years agoNow that xopen() no longer returns stdio, !fd doesn't need strcmp("-") to verify
Rob Landley [Mon, 8 May 2017 23:25:22 +0000 (18:25 -0500)]
Now that xopen() no longer returns stdio, !fd doesn't need strcmp("-") to verify

7 years agoFix error in writing output that was causing zcat to always fail.
Mike Moreton [Fri, 23 Sep 2016 07:46:11 +0000 (08:46 +0100)]
Fix error in writing output that was causing zcat to always fail.

7 years agoError if we can't autodetect filesystem type.
Rob Landley [Mon, 8 May 2017 03:48:44 +0000 (22:48 -0500)]
Error if we can't autodetect filesystem type.

7 years agoAdd all the toybox symbolic links to recovery.
Elliott Hughes [Sat, 6 May 2017 01:02:04 +0000 (18:02 -0700)]
Add all the toybox symbolic links to recovery.

We're currently shipping a full toybox binary in /sbin on the recovery image,
so it seems silly to only have the modprobe symbolic link when you could have
the full set.

Bug: N/A
Test: builds
Change-Id: I307a93dbba79d4f306eb0b20c4190b9571433c37

7 years agoInclude $(BUILD_NUMBER_FROM_FILE) in the toybox --version. am: 77666693a1 am: f95c192...
Elliott Hughes [Fri, 5 May 2017 23:29:51 +0000 (23:29 +0000)]
Include $(BUILD_NUMBER_FROM_FILE) in the toybox --version. am: 77666693a1 am: f95c1921ba am: 0cbc1fc469
am: 1d589555e6

Change-Id: Ic6dab00fd3306a9095dfb529d3e9c883874ce0ce

7 years agoInclude $(BUILD_NUMBER_FROM_FILE) in the toybox --version. am: 77666693a1 am: f95c1921ba
Elliott Hughes [Fri, 5 May 2017 23:23:26 +0000 (23:23 +0000)]
Include $(BUILD_NUMBER_FROM_FILE) in the toybox --version. am: 77666693a1 am: f95c1921ba
am: 0cbc1fc469

Change-Id: Id8adaed50481e2207c464427366d9f63aede4917

7 years agoInclude $(BUILD_NUMBER_FROM_FILE) in the toybox --version. am: 77666693a1
Elliott Hughes [Fri, 5 May 2017 22:54:35 +0000 (22:54 +0000)]
Include $(BUILD_NUMBER_FROM_FILE) in the toybox --version. am: 77666693a1
am: f95c1921ba

Change-Id: I069166499cc43fa00e06b90b7aa70306d8428de3

7 years agoInclude $(BUILD_NUMBER_FROM_FILE) in the toybox --version.
Elliott Hughes [Fri, 5 May 2017 22:47:51 +0000 (22:47 +0000)]
Include $(BUILD_NUMBER_FROM_FILE) in the toybox --version.
am: 77666693a1

Change-Id: I3b68a87b5595096e8ec2aa76916369dafd61c593

7 years agoInclude $(BUILD_NUMBER_FROM_FILE) in the toybox --version.
Elliott Hughes [Fri, 5 May 2017 20:28:50 +0000 (13:28 -0700)]
Include $(BUILD_NUMBER_FROM_FILE) in the toybox --version.

Also remove the SHA, which we haven't needed yet and isn't particularly
easy to turn back into source anyway.

Also switch to sed rather than awk, because macOS awk is lame:

  awk: syntax error at source line 1
   context is
          match($0, >>>  /TOYBOX_VERSION.*"(.*)"/, <<<
  awk: bailing out at source line 1

Bug: http://b/27534935 (for the macOS awk problem)
Test: toybox --version
Change-Id: If2d86b1ef098f1710843e32f7345ae5cf251fabb

7 years agoSwitch to toybox gzip/gunzip/zcat. am: 429b7a378b am: 564d755a1c am: 1d98c5f49f
Elliott Hughes [Fri, 5 May 2017 00:02:17 +0000 (00:02 +0000)]
Switch to toybox gzip/gunzip/zcat. am: 429b7a378b am: 564d755a1c am: 1d98c5f49f
am: c0fe3011a0

Change-Id: Ief8250eabb62324c177c826c0f3acc26f565326f

7 years agoSwitch to toybox gzip/gunzip/zcat. am: 429b7a378b am: 564d755a1c
Elliott Hughes [Thu, 4 May 2017 23:34:17 +0000 (23:34 +0000)]
Switch to toybox gzip/gunzip/zcat. am: 429b7a378b am: 564d755a1c
am: 1d98c5f49f

Change-Id: I0c83d1db9fc4eda98918d6700a887eb39344ff71

7 years agoSwitch to toybox gzip/gunzip/zcat. am: 429b7a378b
Elliott Hughes [Thu, 4 May 2017 23:30:46 +0000 (23:30 +0000)]
Switch to toybox gzip/gunzip/zcat. am: 429b7a378b
am: 564d755a1c

Change-Id: I0ea4e78775fb2128e0ff753690b568cae0cc41fe

7 years agoSwitch to toybox gzip/gunzip/zcat.
Elliott Hughes [Thu, 4 May 2017 23:27:46 +0000 (23:27 +0000)]
Switch to toybox gzip/gunzip/zcat.
am: 429b7a378b

Change-Id: Id2f68a0faf4b6d17adf8c153ff8d67e828df01ae

7 years agoAdd toybox_vendor for treble products am: 2b69f38297 am: 8175e87953 am: f5db80952c
Sandeep Patil [Thu, 4 May 2017 16:46:42 +0000 (16:46 +0000)]
Add toybox_vendor for treble products am: 2b69f38297 am: 8175e87953 am: f5db80952c
am: 35a9f1857a

Change-Id: I398e8f53f46a81cca68fe711d6738c4b1cba245e

7 years agoAdd toybox_vendor for treble products am: 2b69f38297 am: 8175e87953
Sandeep Patil [Thu, 4 May 2017 16:43:43 +0000 (16:43 +0000)]
Add toybox_vendor for treble products am: 2b69f38297 am: 8175e87953
am: f5db80952c

Change-Id: Ifb7722047cf3535c08d8a9532b35e04378218b21

7 years agoAdd toybox_vendor for treble products am: 2b69f38297
Sandeep Patil [Thu, 4 May 2017 16:41:13 +0000 (16:41 +0000)]
Add toybox_vendor for treble products am: 2b69f38297
am: 8175e87953

Change-Id: I1982e54680e09bb36641f3b405a56f8af5aca128

7 years agoSwitch to toybox gzip/gunzip/zcat.
Elliott Hughes [Thu, 4 May 2017 05:53:47 +0000 (22:53 -0700)]
Switch to toybox gzip/gunzip/zcat.

Bug: http://b/36653902
Test: ran (not yet upstreamed) toybox tests
Change-Id: I9f79abe6861c8673e348a79b4a9c60b630d9a28f

7 years agoAdd toybox_vendor for treble products
Sandeep Patil [Thu, 4 May 2017 16:38:11 +0000 (16:38 +0000)]
Add toybox_vendor for treble products
am: 2b69f38297

Change-Id: I6940b1c09a36da453bce19af50d8cc04d9c3d226

7 years agoAdd toybox_vendor for treble products
Sandeep Patil [Wed, 12 Apr 2017 21:53:55 +0000 (14:53 -0700)]
Add toybox_vendor for treble products

Make the executable static so it doesn't have links back to /system and
build it only for treble products.

Bug: 36463595
Test: toybox_vendor and its symlinks are installed in /vendor and
      working on sailfish

(cherrypick of 19da0701da03ab44053780ea24d2586b66763222)

Change-Id: I1f5c8ba6b7f243a163cbefbfe76d1b098d31fcd8
Signed-off-by: Sandeep Patil <sspatil@google.com>
7 years agolibselinux can depend on libcutils am: 91ed7bcbe1 am: c59b67815f am: 735c68e010
Mark Salyzyn [Thu, 4 May 2017 16:25:40 +0000 (16:25 +0000)]
libselinux can depend on libcutils am: 91ed7bcbe1 am: c59b67815f am: 735c68e010
am: 0eb16182a7

Change-Id: I3c8ba8fb1445cc07ae7963cb3a980d622c3ff289

7 years agolibselinux can depend on libcutils am: 91ed7bcbe1 am: c59b67815f
Mark Salyzyn [Thu, 4 May 2017 16:23:10 +0000 (16:23 +0000)]
libselinux can depend on libcutils am: 91ed7bcbe1 am: c59b67815f
am: 735c68e010

Change-Id: I4f9205b56c1c4e45dd95a05d666f27eeb0ea7ef4

7 years agolibselinux can depend on libcutils am: 91ed7bcbe1
Mark Salyzyn [Thu, 4 May 2017 16:20:41 +0000 (16:20 +0000)]
libselinux can depend on libcutils am: 91ed7bcbe1
am: c59b67815f

Change-Id: Idfe57f664a9d8805216fde3109fa1fb5bcacd6ce

7 years agolibselinux can depend on libcutils
Mark Salyzyn [Thu, 4 May 2017 16:17:41 +0000 (16:17 +0000)]
libselinux can depend on libcutils
am: 91ed7bcbe1

Change-Id: I3d031e8185cbfd44450f44347308fec289bc1fa3

7 years agolibselinux can depend on libcutils
Mark Salyzyn [Mon, 1 May 2017 22:21:17 +0000 (15:21 -0700)]
libselinux can depend on libcutils

static library ordering to deal with libselinux depending on
libcutils.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Test: compile
Bug: 36645158
Bug: 37751120
Change-Id: Ida0d825847ccef423c55849e7fc52be5cdcc5f5b

7 years agoRemove mkfifo from the uncategorized list. am: 400d7a8f76 am: 722072f695 am: 8117ced7cf
Elliott Hughes [Wed, 3 May 2017 23:56:48 +0000 (23:56 +0000)]
Remove mkfifo from the uncategorized list. am: 400d7a8f76 am: 722072f695 am: 8117ced7cf
am: 519540f793

Change-Id: I2fb97affe214e7d2b9962841af94b005308a5c1c

7 years agoRemove mkfifo from the uncategorized list. am: 400d7a8f76 am: 722072f695
Elliott Hughes [Wed, 3 May 2017 23:43:36 +0000 (23:43 +0000)]
Remove mkfifo from the uncategorized list. am: 400d7a8f76 am: 722072f695
am: 8117ced7cf

Change-Id: Ib027660268bb964dbbea99d971364e1e0a4815dd

7 years agoRemove mkfifo from the uncategorized list. am: 400d7a8f76
Elliott Hughes [Wed, 3 May 2017 23:41:05 +0000 (23:41 +0000)]
Remove mkfifo from the uncategorized list. am: 400d7a8f76
am: 722072f695

Change-Id: I1ddcb7036bf876a9c5d3e98280bc738622e8846b

7 years agoRemove mkfifo from the uncategorized list.
Elliott Hughes [Wed, 3 May 2017 23:38:35 +0000 (23:38 +0000)]
Remove mkfifo from the uncategorized list.
am: 400d7a8f76

Change-Id: I221c107c4ccc971bbd785412c10e5caecf73944c

7 years agoRemove mkfifo from the uncategorized list.
Elliott Hughes [Wed, 3 May 2017 21:50:24 +0000 (14:50 -0700)]
Remove mkfifo from the uncategorized list.

Bug: N/A
Test: builds
Change-Id: I98ff20888969b833c229a1c585f665865c085643

7 years agoFix the find tests. am: 86537b33a0 am: 5917b9eca4 am: 8deae91cfc
Elliott Hughes [Wed, 3 May 2017 02:11:42 +0000 (02:11 +0000)]
Fix the find tests. am: 86537b33a0 am: 5917b9eca4 am: 8deae91cfc
am: 6b613cb26e

Change-Id: I1253e7837774f8854d55b7c9ee46c73a7b0dbd95

7 years agoFix the find tests. am: 86537b33a0 am: 5917b9eca4
Elliott Hughes [Wed, 3 May 2017 02:09:11 +0000 (02:09 +0000)]
Fix the find tests. am: 86537b33a0 am: 5917b9eca4
am: 8deae91cfc

Change-Id: Iaf2e474c23eb7691906efcf3a1f2be3bc1ae9183

7 years agoFix the find tests. am: 86537b33a0
Elliott Hughes [Wed, 3 May 2017 02:06:41 +0000 (02:06 +0000)]
Fix the find tests. am: 86537b33a0
am: 5917b9eca4

Change-Id: I6d36a76e238e139452917cb861eff22d85f86e25

7 years agoFix the find tests.
Elliott Hughes [Wed, 3 May 2017 02:04:11 +0000 (02:04 +0000)]
Fix the find tests.
am: 86537b33a0

Change-Id: I529dfdee828b926aee22871944aea2c7e5bfa8cc

7 years agoFix the find tests.
Elliott Hughes [Wed, 3 May 2017 00:26:30 +0000 (17:26 -0700)]
Fix the find tests.

Four of the find tests were failing because they require mkfifo.

mkfifo also came up trying to run heaptrack on Android.

Bug: N/A
Test: ran find tests
Change-Id: I693818ddff42e516c370b2bfabd39b5486bd0d95

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: c5a1dd459a am: e71581dbbc...
Elliott Hughes [Tue, 2 May 2017 22:08:20 +0000 (22:08 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: c5a1dd459a am: e71581dbbc am: 3c1a8f8004
am: 7264722004

Change-Id: Ic5919b8379aa07a670d8d7445ef8368fc90fadfa

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: c5a1dd459a am: e71581dbbc
Elliott Hughes [Tue, 2 May 2017 22:05:54 +0000 (22:05 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: c5a1dd459a am: e71581dbbc
am: 3c1a8f8004

Change-Id: I2b4f28e9ce86d10410c6153f1193864912a848f9

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: c5a1dd459a
Elliott Hughes [Tue, 2 May 2017 22:03:23 +0000 (22:03 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: c5a1dd459a
am: e71581dbbc

Change-Id: Ibee2b9d8160f87deb1c0f0581ab219b032f505b7

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Tue, 2 May 2017 22:00:53 +0000 (22:00 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: c5a1dd459a

Change-Id: I4c5f54d1e302f5a783583249e111a3f64a6f39a5

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Tue, 2 May 2017 18:34:07 +0000 (11:34 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: I1b1ca7c3fb41586cdbad50f49d67f61ff12c9718

7 years agoAndroid NDK doesn't have cutils/sched_policy.h so add a probed config symbol.
Rob Landley [Sun, 30 Apr 2017 07:46:36 +0000 (02:46 -0500)]
Android NDK doesn't have cutils/sched_policy.h so add a probed config symbol.

7 years agoAndroid needs -llog to link.
Elliott Hughes [Fri, 28 Apr 2017 22:25:56 +0000 (15:25 -0700)]
Android needs -llog to link.

7 years agoBuilding mkpasswd on Android makes no sense.
Elliott Hughes [Fri, 28 Apr 2017 22:21:36 +0000 (15:21 -0700)]
Building mkpasswd on Android makes no sense.

And won't work anyway because we don't have crypt(3).

7 years agoImplement zlib-based gzip/gunzip/zcat.
Elliott Hughes [Wed, 26 Apr 2017 22:01:41 +0000 (15:01 -0700)]
Implement zlib-based gzip/gunzip/zcat.

7 years agoElliott wants to run the toybox tests on android host and there's an sh but
Rob Landley [Wed, 26 Apr 2017 21:36:19 +0000 (16:36 -0500)]
Elliott wants to run the toybox tests on android host and there's an sh but
it isn't toysh, so test for a bash alias.

7 years agoForgot to check in one of the files for bzcat.test
Rob Landley [Tue, 25 Apr 2017 07:21:39 +0000 (02:21 -0500)]
Forgot to check in one of the files for bzcat.test

7 years agoAnother FAQ, and some related tweaks as long as I was there.
Rob Landley [Tue, 25 Apr 2017 00:01:33 +0000 (19:01 -0500)]
Another FAQ, and some related tweaks as long as I was there.

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 52a5544db4 am: 8a1f704d21...
Elliott Hughes [Mon, 24 Apr 2017 19:44:44 +0000 (19:44 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 52a5544db4 am: 8a1f704d21 am: 3648c93f2f
am: 4ed36c97e0

Change-Id: Ied4b2cf44ca0e7990686c941e0301463a081c6fd

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 52a5544db4 am: 8a1f704d21
Elliott Hughes [Mon, 24 Apr 2017 19:22:12 +0000 (19:22 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 52a5544db4 am: 8a1f704d21
am: 3648c93f2f

Change-Id: I610b76405dbfbb734324343909ebd5898eeb00ec

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 52a5544db4
Elliott Hughes [Mon, 24 Apr 2017 19:10:10 +0000 (19:10 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 52a5544db4
am: 8a1f704d21

Change-Id: Ie580114779511c8ce6f49c26f2172d54e9fb7092

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Mon, 24 Apr 2017 18:56:31 +0000 (18:56 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: 52a5544db4

Change-Id: I85e6fee0cf60c1daf18ea022c827f40dfb19faea

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Mon, 24 Apr 2017 17:37:49 +0000 (10:37 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: I1f472e17af7d5ead3a40bb174d554c6c92d33392

7 years agoAdd ls -ll (with --full-time as a compatibility synonym) to show nanoseconds.
Rob Landley [Wed, 19 Apr 2017 06:44:16 +0000 (01:44 -0500)]
Add ls -ll (with --full-time as a compatibility synonym) to show nanoseconds.
(And, for some reason, timezone. Individual files have timezones?)

7 years agoThe kernel needs bc to build because
Rob Landley [Tue, 18 Apr 2017 18:19:07 +0000 (13:19 -0500)]
The kernel needs bc to build because
https://landley.net/notes-2013.html#28-03-2013 so add it to the airlock install.

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 64279d4042 am: 0c31248456...
Elliott Hughes [Mon, 17 Apr 2017 22:38:03 +0000 (22:38 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 64279d4042 am: 0c31248456 am: bd918d8ef4
am: 2ef13a4b7b

Change-Id: I94f223a3b70356365067e0d487f2cd0d3e491052

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 64279d4042 am: 0c31248456
Elliott Hughes [Mon, 17 Apr 2017 21:51:36 +0000 (21:51 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 64279d4042 am: 0c31248456
am: bd918d8ef4

Change-Id: I3584ed12044c9f9151c8b9d16324ded9322fc685

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: 64279d4042
Elliott Hughes [Mon, 17 Apr 2017 21:42:11 +0000 (21:42 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: 64279d4042
am: 0c31248456

Change-Id: I8ed7409d13f101a209b0d3007c4d9100a96927b6

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Mon, 17 Apr 2017 21:37:15 +0000 (21:37 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: 64279d4042

Change-Id: I48207b36bf2d3b3285791da11750488217eeae89

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Mon, 17 Apr 2017 18:40:08 +0000 (11:40 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

7 years agoUse $(( rather than $[ for arithmetic in expand.test.
Elliott Hughes [Sat, 15 Apr 2017 18:27:18 +0000 (11:27 -0700)]
Use $(( rather than $[ for arithmetic in expand.test.

I can't find any reference to $[ for arithmetic on the bash man page, but it
seems to be a synonym for $((. mksh doesn't support this, so the expand tests
that use it fail on Android. No other toybox tests are using $[.

7 years agoMake ls.test work without awk.
Elliott Hughes [Fri, 14 Apr 2017 20:43:16 +0000 (13:43 -0700)]
Make ls.test work without awk.

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: d52431021f am: 3fad563468...
Elliott Hughes [Mon, 17 Apr 2017 17:29:14 +0000 (17:29 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: d52431021f am: 3fad563468 am: 464150be12
am: 08da1d227e

Change-Id: I532b45dc4f17e6f5ab2d205fbbad01dd63f35dcc

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: d52431021f am: 3fad563468
Elliott Hughes [Mon, 17 Apr 2017 17:15:33 +0000 (17:15 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: d52431021f am: 3fad563468
am: 464150be12

Change-Id: I6906fdd515f77e648ea530dd1689ae1e068d377f

7 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: d52431021f
Elliott Hughes [Mon, 17 Apr 2017 17:10:57 +0000 (17:10 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: d52431021f
am: 3fad563468

Change-Id: I27bb20bcd1d406072a3dec94305dc6af3a69d10d