OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-500-g2e8d154
Gerrit Code Review
gerrit@openafs.org
Mon, 8 Jun 2026 10:40:55 -0400
The following commit has been merged in the master branch:
commit 2e8d1540bc14a9c77c864d5de7a6ca87ae165311
Author: Andrew Deason <adeason@sinenomine.net>
Date: Tue Sep 29 15:59:26 2020 -0500
rx: Introduce rx_opaque_cmp(), _stringify()
Add a new function, rx_opaque_cmp(), to simplify comparing two rx_opaque
objects. Also add a new function, rx_opaque_stringify(), to easily
output the contents of rx_opaque objects (in hex).
Add tests for the new functions, and while we're doing so, add some
tests for the rest of the rx_opaque functions, as well as some
afstest_common helper functions (is_pointer(), is_opaque()) to make it
easier to test with opaques.
Change-Id: Ib43b94046d1ab47f1370a77064e9a335ae3622b5
Reviewed-on: https://gerrit.openafs.org/14633
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
src/rx/liboafs_rx.la.sym | 3 +
src/rx/rx_opaque.c | 117 +++++++++++++++++++++++++++++++++++++
src/rx/rx_opaque.h | 8 +++
tests/TESTS | 1 +
tests/common/Makefile.in | 13 ++++-
tests/common/common.h | 26 +++++++++
tests/common/misc.c | 19 ++++++
tests/common/opaque.c | 82 ++++++++++++++++++++++++++
tests/rx/.gitignore | 1 +
tests/rx/Makefile.in | 11 +++-
tests/rx/opaque-t.c | 149 +++++++++++++++++++++++++++++++++++++++++++++++
11 files changed, 426 insertions(+), 4 deletions(-)
--
OpenAFS Master Repository