aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/sulogin.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-06-25 08:40:18 -0700
committerRob Landley <rob@landley.net>2019-06-25 12:03:12 -0500
commitaec194e573e6f94a7bf3c3d64b2a86c1f2057638 (patch)
treebb096be086f7167f507a711cfc997285fd4a0b8e /toys/pending/sulogin.c
parent2eefbe410740c165c71aca9f9d8e06096140c16a (diff)
downloadtoybox-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/pending/sulogin.c')
0 files changed, 0 insertions, 0 deletions