diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-01-04 11:55:32 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-01-04 11:55:32 +0000 |
commit | 478bc15b371a688b901d1ba4a205d225862375a8 (patch) | |
tree | c2bb706bd904321dd067b898cbaf33431f5c6de4 /regress/lib/libfuse/fuse-opt-match.c | |
parent | d42987b22458ec016e87fdc921cef21b4bb983b8 (diff) |
Remove a check for empty option strings from our fuse regress tests.
Some fuse plugins rely on empty options (exfat-fuse, ntfs-3g) so this part
of the regress test was bogus. It ended up misleading mpi@ and myself when
we made a change in libfuse/fuse_opt.c r1.17 which broke some fuse plugins.
Regression with broken exfat-fuse reported by Helg via yasuoka@.
This commit just fixes our regress test. libfuse is not yet fixed.
ok mpi@
Diffstat (limited to 'regress/lib/libfuse/fuse-opt-match.c')
-rw-r--r-- | regress/lib/libfuse/fuse-opt-match.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/regress/lib/libfuse/fuse-opt-match.c b/regress/lib/libfuse/fuse-opt-match.c index a9d2c4176a3..71daa0245f3 100644 --- a/regress/lib/libfuse/fuse-opt-match.c +++ b/regress/lib/libfuse/fuse-opt-match.c @@ -39,8 +39,6 @@ match_opts(const struct fuse_opt *opts, const int *results) { if (fuse_opt_match(opts, NULL) != 0) return (1); - if (fuse_opt_match(opts, "") != 0) - return (2); if (fuse_opt_match(opts, "bar=") != results[0]) return (3); |