git: libaura: Several fixes to fs predicates
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Wed Feb 3 16:19:01 PST 2021
commit eb5e0ace749171ef803dbeae996c04970963561a
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Thu Feb 4 01:14:30 2021 +0100
libaura: Several fixes to fs predicates
- Make is_program() a bit more precise.
- Fix is_device()
- Simplify the code a bit.
- Regression tests now pass.
Test case Result
--------------------------------------------------------------------------------
usr.sbin/installer/libaura/dict1/dict1 PASS
usr.sbin/installer/libaura/dict2/dict2 PASS
usr.sbin/installer/libaura/dict3/dict3 PASS
usr.sbin/installer/libaura/fspred1/fspred1 PASS
Summary of changes:
usr.sbin/installer/libaura/fspred.c | 137 +++++++++++++++++++++---------------
1 file changed, 79 insertions(+), 58 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb5e0ace749171ef803dbeae996c04970963561a
--
DragonFly BSD source repository
More information about the Commits
mailing list