diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-01-12 17:30:31 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-01-12 17:30:31 +0000 |
commit | d5cb61559f3b3666c4eed3fcc63a08b0e37bb44c (patch) | |
tree | ed94dceba41dee4f65ce2413f8a043b7a48dce34 /regress/lib | |
parent | e3b8d2195bb92a1de1aafdce79b1336573d19af5 (diff) |
Remove more checks testing for empty option strings.
These tests never passed and as recently reported by Helg via
yasuoka@ some fuse plugins depends on this behavior.
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libfuse/fuse-opt-add-arg.c | 2 | ||||
-rw-r--r-- | regress/lib/libfuse/fuse-opt-insert-arg.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/regress/lib/libfuse/fuse-opt-add-arg.c b/regress/lib/libfuse/fuse-opt-add-arg.c index 21ab05d6033..b5a90549268 100644 --- a/regress/lib/libfuse/fuse-opt-add-arg.c +++ b/regress/lib/libfuse/fuse-opt-add-arg.c @@ -43,8 +43,6 @@ main(int ac, char **av) return (1); if (fuse_opt_add_arg(&args, NULL) != -1) return (2); - if (fuse_opt_add_arg(&args, "") != -1) - return (3); for (i = 0; i < len; i++) if (strcmp(args.argv[i+1], argstest[i]) != 0) diff --git a/regress/lib/libfuse/fuse-opt-insert-arg.c b/regress/lib/libfuse/fuse-opt-insert-arg.c index 627866f7f0e..1d9492e05bf 100644 --- a/regress/lib/libfuse/fuse-opt-insert-arg.c +++ b/regress/lib/libfuse/fuse-opt-insert-arg.c @@ -48,8 +48,6 @@ main(int ac, char **av) return (6); if (fuse_opt_insert_arg(&args, 1, NULL) != -1) return (7); - if (fuse_opt_insert_arg(&args, 1, "") != -1) - return (8); if (fuse_opt_insert_arg(&args, -1, "foo") != -1) return (9); if (fuse_opt_insert_arg(&args, 42, "foo") != -1) |