summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* properly set the hostmanager address back if sending an ACK failsGravatar Karl Ramm2010-08-22
| | | | (thanks to nelhage@mit.edu for noticing this)
* multinotice values should just never be negativeGravatar Karl Ramm2010-08-22
|
* fix an allocation-size braino and rearrange for readabilityGravatar Karl Ramm2010-08-22
|
* roleplay accordingly with sin_len and sin6_len values on BSD systemsGravatar Karl Ramm2009-12-18
|
* Print only some fields of ZGetDestAddr to dodge sin_lenGravatar Karl Ramm2009-10-12
| | | | | | | | | Print only the fields of ZGetDestAddr we care about checking -- the address family and address. We can't just print the whole structure and selectively examine fields, because we can't easily determine whether sin_len will be present or not. (from Ken Raeburn)
* Print more info for certain test failures.Gravatar Karl Ramm2009-10-12
| | | | (from Ken Raeburn)
* simplify error handlingGravatar Karl Ramm2009-10-08
|
* when setting location, wait for SERVACKs _and_ SERVNAKSGravatar Karl Ramm2009-08-11
|
* Slightly more robust guess at what the noauth ZExpandRealm doesGravatar Karl Ramm2009-08-01
|
* Further refactor the library locater, and make the doctests use itGravatar Karl Ramm2009-08-01
|
* More explicitly print the test results, and exit 1 if there was a failureGravatar Karl Ramm2009-08-01
| | | | so that make check will fail.
* actually look search for the shared library, and hopefully also find it onGravatar Karl Ramm2009-08-01
| | | | a mac
* Remove the chock wedging things into DES mode and hopefully redo the ↵Gravatar Karl Ramm2009-07-26
| | | | | | keyusage stuff such that it actually works.
* corrections for style and prototypes for inet_ntoa to pass -Wall -WerrorGravatar Karl Ramm2009-07-26
| | | | (and probably not SEGV on a LP64 system)
* redo packet parsing error handlingGravatar Karl Ramm2009-07-26
|
* Factor the python library stuff out of the test suite and stickGravatar Karl Ramm2009-07-15
| | | | | it in it's own file. And then put it in a debian package.
* Build on solarisGravatar Karl Ramm2009-07-14
|
* if we're reencoding a packet, don't blindly claim to have Z_NUMFIELDSGravatar Karl Ramm2009-07-13
|
* Check that we don't reformat a zephyr that started with fewer fields, so ↵Gravatar Karl Ramm2009-07-12
| | | | | | | that we don't inadvertantly alter the checksum.
* Don't assume that we can guess the canonical name of localhostGravatar Karl Ramm2009-06-20
|
* add safety net for non-svn users.Gravatar Mark W. Eichin2009-05-02
| | | | | | (really once I pull the duplicate tests out of here there's no reason for this to be runnable anyway...)
* fix some conditional-compilation issues that trip -Wunreachable-codeGravatar Karl Ramm2009-04-30
|
* Set up a local UDP socket to drive testingGravatar Karl Ramm2009-04-27
| | | | | | | | | | | | | 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.
* It turns out that sockpair /does/ work with AF_UNIX, SOCK_DGRAM, just notGravatar Karl Ramm2009-04-27
| | | | | | | | 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.
* draft packet tests - using pipe trick turns out not to work, though.Gravatar Mark W. Eichin2009-04-26
|
* take ZGetDestAddr off the listGravatar Mark W. Eichin2009-04-24
|
* test that the file descriptor ZGetFD returns is actually a socketGravatar Mark W. Eichin2009-04-24
|
* test ZGetDestAddrGravatar Mark W. Eichin2009-04-24
|
* use less oddball typesGravatar Karl Ramm2009-04-21
|
* populate_enum - instantiate the enum values as actual objectsGravatar Mark W. Eichin2009-04-18
| | | | | | (in 2.6, do this with a class decorator?) expand the ZFormatNotice/ZParseNotice round trip, but it needs more...
* More i18n infrastructureGravatar Karl Ramm2009-04-17
| | | | | | | | | | | | | | | | 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
* basic Zcode testGravatar Mark W. Eichin2009-04-17
|
* more api todosGravatar Mark W. Eichin2009-04-17
| | | | | clarify which ZLocateUser actually exists
* show what ZMakeAscii actually *does*Gravatar Mark W. Eichin2009-04-16
|
* wrap ZMakeAsciiGravatar Mark W. Eichin2009-04-16
| | | | | | | | | clone it too test the wrapper against the clone fix typo in description add todos add future-coverage list
* Clean up $Zephyr$sGravatar Karl Ramm2009-04-14
|
* Export a new variable, Zauthtype, which indicates what sort of authenticationGravatar Karl Ramm2009-04-14
| | | | | | | | | 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.
* should not be exportedGravatar Karl Ramm2009-04-14
|
* test ZOpenPort and ZClosePortGravatar Mark W. Eichin2009-04-14
| | | | | record coverage, start a checklist of what next
* ZOpenPort, ZClosePortGravatar Mark W. Eichin2009-04-14
|
* backgroundGravatar Mark W. Eichin2009-04-14
|
* allow zephyr_run_doctests -v to workGravatar Mark W. Eichin2009-04-14
|
* run the tests from makeGravatar Karl Ramm2009-04-14
|
* add defs for datarootdir so configure will Shut UpGravatar Karl Ramm2009-04-13
| | | | | | | | | | 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.
* draft doctest version of the existing tests, to show what they lookGravatar Mark W. Eichin2009-04-13
| | | | | | | | | | 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...)
* test ZExpandRealmGravatar Mark W. Eichin2009-04-10
|
* kstuff.c:Gravatar Karl Ramm2009-04-10
| | | | | | | | | Turn off the replay cache (at least with MIT krb5 1.6) All three authentication checks: Initialize cksum1_buf so gcc will shut up.
* m-x untabifyGravatar Mark W. Eichin2009-04-09
|
* move run from ZephyrTestSuite to TestSuite where it belongs (easier toGravatar Mark W. Eichin2009-04-09
| | | | | | | | | | replace that way too) add starting/done/failed to TestSuite.run output wrap ZCompareUID test ZCompareUID
* discovered by looking at code that uniqueid timestamps are in networkGravatar Mark W. Eichin2009-04-08
| | | | | | | | 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...