| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using socketpair doesn't work because you end up with an AF_UNIX socket,
and it even if you _can_ use sendto with anonymous unix-domain sockets
(which the documentation is mute on and it doesn't seem worth experimenting
on), the zephyr library doesn't allocate enough storage for a sockaddr_un,
and although I'm not above fixing that, I determined that for structural
reasons it's too annoying right now. (But once we have a test suite...)
Anyway, cons up a udp socket, and extract a port number from the library,
and use the python socket interface to send the zephyr packet.
|
|
|
|
|
|
|
|
| |
AF_INET, which is not terribly surprising now that I think about it.
However, ZPending() still returns -1, and I don't know how to debug why at
the moment.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
(in 2.6, do this with a class decorator?)
expand the ZFormatNotice/ZParseNotice round trip, but it needs more...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lib/charset.c
h/zephyr/zephyr.h
Refactor ZGetCharset into ZGetCharset and a function that does
all the same defaulting but returns a string.
ZTransliterate is a zephyr-metaphor wrapper for iconv.
lib/zephyr-tests.py
Wrappers for the functions in charset.c (but not tests)
lib/zephyr_tests.txt
Tests for the functions in charset.c
|
| |
|
|
|
|
|
| |
clarify which ZLocateUser actually exists
|
| |
|
|
|
|
|
|
|
|
|
| |
clone it too
test the wrapper against the clone
fix typo in description
add todos
add future-coverage list
|
| |
|
|
|
|
|
|
|
|
|
| |
the library was compiled for.
Use this variable in the tests such that they will pass (and, like, test
something) if the library was not compiled with authentication.
|
| |
|
|
|
|
|
| |
record coverage, start a checklist of what next
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Rearrange what libraries get pulled in where, so dpkg-shlibdeps
doesn't whine (see a theme here?) (Also so that, say, znol, doesn't
have to link with Everything.)
This will break platforms that don't do shared-library dependencies.
|
|
|
|
|
|
|
|
|
|
| |
like; might serve as a start on a "live API guide" once it is fleshed
out more. Emphasizes the commentary which actually makes a lot of
sense (a bunch of things went into the svn commit logs which really
should have been in-line in the test cases; this approach avoids
that...)
|
| |
|
|
|
|
|
|
|
|
|
| |
Turn off the replay cache (at least with MIT krb5 1.6)
All three authentication checks:
Initialize cksum1_buf so gcc will shut up.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
replace that way too)
add starting/done/failed to TestSuite.run output
wrap ZCompareUID
test ZCompareUID
|
|
|
|
|
|
|
|
| |
byte order. They're really bytestrings so it shouldn't
matter... but since this is half testing, half debugging, and half
API exploration, we might as well make them human-displayable...
|
|
|
|
|
|
|
| |
added comments
z_sender_sockaddr now displays only the branch implied by sa_family
|
|
|
|
|
|
|
|
|
|
|
| |
is at the class level, it can look at other fields
(ie. z_num_hdr_fields) for lengths or other parameters that modify the
display.
implemented for z_hdr_fields, z_other_fields. probably useful for
selecting z_sender_sockaddr values too.
|
|
|
|
|
|
|
|
| |
Turns out they are easy :-) Also added "fake" enums to render address
family tags correctly; cheat a little and lift the values from the
python socket module directly, to avoid duplication.
|
|
|
|
|
|
|
|
| |
the mess around _ZTimeval.pprint is that either they're not getting
initialized, not getting converted properly, or aren't really
timestamps anymore.
|
|
|
|
|
|
| |
use it to display fields of interest for testing
fix the immediately exposed bug (tv_sec/tv_usec sign)
|
| |
|
|
|
|
|
|
| |
be a useful module on their own.
|
| |
|
|
|
|
|
|
|
| |
uses python ctypes to build structs and call functions; minimal current
case is an empty ZFormatNotice/ZParseNotice round trip.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
MacOS X compile_et produces a zephyr_err.c that (mysteriously) includes
"zephyr_err.h", so it has to stay in the directory.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
was being sent in an extra header field. This worked about as well as you
might expect. Fortunately we happened to be putting an address in header
field 18 anyway, so backwards compatibility should be relatively painless.
I don't know which approach is a more egregious hack, but this change
at least nets us four less lines of code, which is obviously good, right?
Oh, and while we're at it, if the sa_family isn't set on the sender address,
just cringe and set it to AF_INET.
|
|
|
|
|
|
|
| |
be NULL, something Wrong^TM, or off the end of z_other_fields.
bad all around.
|
| |
|
| |
|
| |
|
| |
|