summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-01-12 17:30:31 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-01-12 17:30:31 +0000
commitd5cb61559f3b3666c4eed3fcc63a08b0e37bb44c (patch)
treeed94dceba41dee4f65ce2413f8a043b7a48dce34 /regress/lib
parente3b8d2195bb92a1de1aafdce79b1336573d19af5 (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.c2
-rw-r--r--regress/lib/libfuse/fuse-opt-insert-arg.c2
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)