commit | 060a9f3380c5c778ab100f52fe5d1a41b0fd8a6c | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Apr 07 23:15:52 2017 -0700 |
committer | Rob Landley <rob@landley.net> | Sat Apr 15 23:14:19 2017 -0500 |
tree | 2a28a86a9b0ee3048fa506b2550fb8d06473a5a8 | |
parent | 007af3537d18c15de1e632e5731ee57b5b817067 [diff] |
Speed up tail.test for shells without builtin printf. The test only needs echo, and Android currently doesn't use mksh's builtin printf; the toybox printf is fuller featured and less buggy, but a lot slower to call in a loop like this (and mksh doesn't fall back to the printf on the path if given something it can't handle, so we can't have the best of both worlds). Without this hack, the tail test takes as long as all the other tests put together.