diff options
author | Elliott Hughes <enh@google.com> | 2020-01-27 20:21:47 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-01-28 02:00:04 -0600 |
commit | 3d4a1f6a0eccf8f910919c4605a3b17b9f5a1070 (patch) | |
tree | 22689403eebc86987776ccf1dd0984f9df5a49b3 /toys | |
parent | 7348ee6049cb4207cfb13b7b31de2a41292941bc (diff) | |
download | toybox-3d4a1f6a0eccf8f910919c4605a3b17b9f5a1070.tar.gz |
lsattr: fix tests.
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.)
Diffstat (limited to 'toys')
0 files changed, 0 insertions, 0 deletions