CVS log for src/tests/lib/librefuse/t_refuse_opt.c
Up to [cvs.NetBSD.org] / src / tests / lib / librefuse
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Nov 24 17:31:03 2023 UTC (16 months, 4 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +51 -51
lines
tests: Audit RZ abuse.
RZ succeeds if x is zero, and fails if x is nonzero, treating a
nonzero value as a error number as in errno(3) to print the message.
The following library routines instead return -1 on failure and set
errno to the error code:
fuse_opt_add_arg
fuse_opt_add_opt
fuse_opt_add_opt_escaped
fuse_opt_insert_arg
lseek
system
So use RL instead for those -- succeeds if x is zero, and fails if x
is -1.
This shouldn't make any tests newly fail or newly succeed -- the
functions in question only ever return 0 or -1 -- but if the tests
were already failing anywhere, they will now fail with meaningful
messages.
TBD: dlinfo, which isn't fit for RL or RZ since it reports errors via
dlerror() rather than errno.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 4 06:42:39 2021 UTC (3 years, 4 months ago) by pho
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
librefuse: Preparation of a proper API versioning; no more #ifdef woes in user code
The goal is to fully support FUSE API version 3.0 while maintaining
API/ABI compatibility with code written for 2.6 (or even older).
* <fuse.h> now emits a compiler warning if it's included without
defining FUSE_USE_VERSION. It had been silently defaulted to the
latest supported version prior to this change. This is permissive
compared to the original FUSE, as it emits an error instead.
* <fuse.h> now emits a warning if FUSE_USE_VERSION is higher than what
can be provided.
* Added a macro FUSE_MAKE_VERSION(maj, min). It was missing from
librefuse <fuse.h>.
No actual API updates have been made (yet).
Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:59 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.7.2.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.2: +3 -3
lines
Sync with HEAD
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jan 13 21:30:41 2017 UTC (8 years, 3 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:55 2017 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +418 -0
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.7.2.1
Mon Nov 21 16:26:16 2016 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.7: +0 -418
lines
file t_refuse_opt.c was added on branch pgoyette-localcount on 2017-01-07 08:56:55 +0000
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Nov 21 16:26:16 2016 UTC (8 years, 5 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107
Branch point for: pgoyette-localcount
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
use <sys/types.h>
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 16 16:11:42 2016 UTC (8 years, 5 months ago) by pho
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +260 -2
lines
Major rework of fuse_opt_parse(3) so that it supports all the functionality of the original function
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 15 10:05:22 2016 UTC (8 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -2
lines
Evil hack to make register_t known and fix the build - XXX not sure this
is the proper fix.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Nov 15 00:37:18 2016 UTC (8 years, 5 months ago) by pho
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +22 -22
lines
Rename test functions
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Nov 15 00:32:42 2016 UTC (8 years, 5 months ago) by pho
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +42 -2
lines
lib
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Nov 14 17:19:29 2016 UTC (8 years, 5 months ago) by pho
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +24 -11
lines
Implement missing fuse_opt_add_opt(3) and fuse_opt_add_opt_escaped(3)
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Nov 14 16:10:31 2016 UTC (8 years, 5 months ago) by pho
Branches: MAIN
Add some tests for librefuse
CVSweb <webmaster@jp.NetBSD.org>