Closed rojkov closed 4 years ago
This patch fixes all uses of head
. Haven't tested it, but the new usage conforms to POSIX and works with busybox according to its documentation.
closing as it got merged in https://github.com/bats-core/bats-core/pull/17
Some implementations of head (e.g. the one in Busybox) can't handle options like "-1". Replace them with "-n1".
Signed-off-by: Dmitry Rozhkov dmitry.rozhkov@linux.intel.com