]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: id/zero: avoid false failure due to sed differences
authorPádraig Brady <P@draigBrady.com>
Thu, 7 Mar 2019 05:04:26 +0000 (21:04 -0800)
committerPádraig Brady <P@draigBrady.com>
Thu, 7 Mar 2019 06:00:53 +0000 (22:00 -0800)
commitdaa46dbe7d04f8f7f416d8703a5cc162a86d04ba
tree6ae8beb373c92512c70aaae80d5b459e1745e32b
parentb918a20234db81055f1e804fcd77378a246ddd98
tests: id/zero: avoid false failure due to sed differences

* tests/id/zero.sh: sed on OSX will output a \n even
if the input doesn't have a \n on the last "line".
So ensure we always have a trailing '\n' to avoid the disparity.
tests/id/zero.sh