[Toybox] [PATCH] lsattr: fix tests.
enh
enh at google.com
Mon Jan 27 20:37:53 PST 2020
I'm trying to switch Android over to toybox chattr/lsattr from
e2fsprogs. Remove those tests that relied on being able to use
chattr(1), remove the duplication that tested both a bare name and a
full path, take into account all the flags that lsattr can now output,
and cope with the fact that the exact flags you'll see depend on your
file system. (Unfortunately this means trusting lsattr in the lsattr
tests, which isn't ideal, but without a known environment I don't think
we can do any better.)
---
tests/lsattr.test | 35 ++++++++++++++---------------------
1 file changed, 14 insertions(+), 21 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lsattr-fix-tests.patch
Type: text/x-patch
Size: 2998 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200127/ffa3175a/attachment.bin>
More information about the Toybox
mailing list