Avoid clang warnings in the server/user test

We weren't initializing the uid and gid variables, and the test
wouldn't set them if something failed.  We'd still diagnose at
least one failure, but initialize them to something hopefully
invalid first so that we're more likely to catch all the failures.

Change-Id: I5497db91aa49f9023a0525033e3693a7ce8050f9
Reviewed-on: https://gerrit.stanford.edu/1361
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Check Net::Remctl class arguments for undef

Net::Remctl and related classes now check that the class argument is
not undef and croak if it is, rather than dereferencing a NULL
pointer.  Caught by clang --analyze.

Change-Id: Id541b7e3b1c0b94cc515239994558c452a0bafe6
Reviewed-on: https://gerrit.stanford.edu/1362
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Change a stray HAVE_KERBEROS to HAVE_KRB5

I missed one when updating to the latest rra-c-util, leading to
a leak of a Kerberos context and ticket cache.

Change-Id: I7067399d0de116a574d348c0d89014d1b4ae4880
Reviewed-on: https://gerrit.stanford.edu/1363
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Suppress errors in test suite from kinit probing

We have to try multiple different command-line options for kinit
since MIT and Heimdal are different, and MIT now reports errors
to standard error.  Supress standard error when doing this probing
in the Python and Ruby test suites.

Change-Id: I836be58da9b7cbea4ec6a140b7a29080f5ad4c9f
Reviewed-on: https://gerrit.stanford.edu/1364
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Update Ruby test expectations for Ruby 1.9

Current versions of Ruby 1.9 now throw different exceptions in
several places than we had previously expected.  Allow both the
old and new exceptions.

Change-Id: I4f20e72c65f788aebacdce6831301f9e6f2b1c0a
Reviewed-on: https://gerrit.stanford.edu/1365
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Free more memory in the child process in client/open test

This makes it easier to analyze the valgrind output.

Change-Id: Ia471576eb02cd53ab38de8d665470a39b2ac383a
Reviewed-on: https://gerrit.stanford.edu/1366
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Close memory leak in process_start_fakeroot TAP add-on

Change-Id: I6f9ac6ffeb4d7f8661de8b21225ea985e6c8283f
Reviewed-on: https://gerrit.stanford.edu/1367
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Release 3.7

Change-Id: Id22b1fc94909ba2a3241586ecbf714ad7ce5a1c4
Reviewed-on: https://gerrit.stanford.edu/1368
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>