diff options
author | Elliott Hughes <enh@google.com> | 2019-06-25 08:40:18 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-06-25 12:03:12 -0500 |
commit | aec194e573e6f94a7bf3c3d64b2a86c1f2057638 (patch) | |
tree | bb096be086f7167f507a711cfc997285fd4a0b8e /toys/net/netstat.c | |
parent | 2eefbe410740c165c71aca9f9d8e06096140c16a (diff) | |
download | toybox-aec194e573e6f94a7bf3c3d64b2a86c1f2057638.tar.gz |
losetup: minor fixes.
Fix `losetup -f` to not fail with an error.
Add the missing \n for `losetup -f --show FILE`.
Use decimal for the device number, like the desktop losetup.
Switch to the FLAG macro.
Make the tests runnable as tests, and expand coverage a bit. With this
patch, the tests pass both with and without TEST_HOST on the desktop.
Note though that this patch is part of fixing some real-life losetup
issues, not part of the "test cleanup" I'm also looking at. losetup is
low down that list!
Diffstat (limited to 'toys/net/netstat.c')
0 files changed, 0 insertions, 0 deletions