Age | Commit message (Collapse) | Author |
|
In Wallet::Policy::Stanford, fix the default_owner logic for password
objects that are group-based rather than host-based. Thanks,
macrotex.
Fixes #82
|
|
wallet should now work properly with Autoconf 2.71. This required
updating tests/docs/spdx-license-t from rra-c-util, which in turn
bumped the minimum required Perl version for the test suite to 5.10.
That's not yet reflected in the documentation.
|
|
Until I have a better way of handling the interleaving of output,
send the output from remctld to /dev/null for the Perl tests.
|
|
In general/server, suppress warnings from an unversioned database
when testing various failure scenarios.
|
|
In Wallet::Report, sort the results of acl_membership(). This is
only used for the duplicate ACLs report currently, but it may help
external callers as well as produce reliable results for testing.
Patch from macrotex.
|
|
Fix the table drop order for wallet-admin destroy to avoid violating
foreign key constraints. Patch from macrotex.
|
|
If multiple ACL changes were made in the same second, the order of
results could be unstable. Sort by unique key after date to avoid
this. Based on work by macrotex.
|
|
We were sending stderr to stdout for remctl output, but sometimes
tests would fail because the remctl output was intermixed with the
test output and confused runtests. runtests only looks at stdout
for test output and sends stderr to /dev/null, so send remctl
output there.
This isn't a great solution since it interferes with debugging
tests. The correct solution is to implement the same logging and
polling that's used by C TAP Harness, although that's more difficult
to do in Perl. But it should make the immediate problem go away.
Continue to send the message about which remctl command line is in
use to stdout, but prefix it with # so that it is a TAP comment.
|
|
|
|
|
|
|
|
|
|
|
|
Reordering to adjust for optional srvtab support broke some
assumptions in this test. Be a bit more robust by not reusing
the results from a previous test.
|
|
Suppress a warning about not declaring a function noreturn that's
only noreturn in some configurations. Add an assert to unconfuse
the static analyzer about a default value for a struct.
|
|
Add a missing configure probe for krb5_xfree. If
krb5_524_conv_principal is not available, return an error if asked
to create a srvtab. (This function has been removed in current
Heimdal.) Adjust the test suite to handle this case.
|
|
|
|
Set up a Heimdal KDC and add Heimdal to the test matrix. Remove
some unnecessary configuration from the MIT Kerberos CI
configuration. Ensure the user programs are installed for
whatever Kerberos we're using, which will enable more of the
Perl test suite.
|
|
|
|
|
|
|
|
Install a full MIT Kerberos KDC when running CI tests with the MIT
library and generate the files required to run the full test suite.
|
|
Regenerate the documentation with patched DocKnot 3.04 to pick up
the new status badge, which fixes a few other issues with
documentation generation.
|
|
Update to rra-c-util 8.2:
* Implement explicit_bzero with memset if it is not available.
* Reformat all C source using clang-format 10.
* Work around Test::Strict not skipping .git directories.
* Fix warnings with perltidy 20190601 and Perl::Critic 1.134.
* Fix warnings with Clang 10, GCC 10, and the Clang static analyzer.
Update to C TAP Harness 4.7:
* Fix warnings with GCC 10.
* Reformat all C source using clang-format 10.
* Fixed malloc error checking in bstrndup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If AUTHOR_TESTING wasn't set, the test would plan twice. Fix this
by restructuring it to delay printing a plan and convert the
Kerberos ticket test to a skip_all plan.
|
|
|
|
Mostly comment and copyright changes, nothing that affects this
package.
|
|
The eval was hiding all error messages when the test didn't work
properly, and C_TAP_SOURCE doesn't have the generated version with
the proper path to Perl.
|
|
all_files should ignore the top-level _build directory, since that's
used by Automake for build testing.
|
|
Update EXTRA_DIST for the new release.
|
|
Add SPDX-License-Identifier headers to all substantial source files.
Collapse copyright years. Add some Emacs configuration for files
where the copyright notice is at the end. Add a test that every
file has SPDX-License-Identifier.
|
|
May as well not publicize the full email address for spammers to
scrape.
|
|
Numerous fixes to the README file by converging on standard
templates. Add a README.md for GitHub. Break thanks out into
a separate THANKS file following the convention used by remctl.
|
|
When getting configuration values from krb5.conf, pass the default
local realm into the Kerberos appdefault functions. This will produce
more correct results with krb5.conf files that specify wallet
configuration for multiple realms.
|
|
This makes it much easier to debug failing tests.
|
|
No problems found, so nothing to fix.
|
|
|
|
Mostly changing http eyrie.org URLs to https, but also remove my
old email address in one place and switch some tests away from my
old RRA_MAINTAINER_TESTS environment variable to use the Lancaster
Consensus variables properly. This uncovered a bug in skipping one
test unless Stanford Kerberos credentials existed.
|
|
Rather than rolling this ourselves, use the macro from rra-c-util
to probe for the path to Perl and check its version.
|
|
Rename the script to bootstrap from a Git checkout to bootstrap,
matching the emerging consensus in the Autoconf world.
|
|
Update to rra-c-util 7.2:
* Improve configure output for krb5-config testing.
* Define UINT32_MAX for systems that don't have it.
* Add SPDX-License-Identifier headers to all substantial source files.
* Fix new warnings from GCC 7 and Clang warnings.
* Require Test::Strict 0.25 or later to run those tests.
* Fix off-by-one error in return-value checks for snprintf.
* Use Autoconf to probe for supported warning flags.
* Fix running module-version-t -u with current versions of Perl.
* Use C_TAP_SOURCE and C_TAP_BUILD instead of SOURCE and BUILD.
Update to C TAP Harness 4.3:
* Add support for valgrind and libtool in test lists.
* Report test failures as left and right, not wanted and expected.
* Fix string comparisons with NULL pointers and the string "(null)".
* Add SPDX-License-Identifier headers to all substantial source files.
* Avoid zero-length realloc allocations in breallocarray.
* Fix new warnings from GCC 7 and Clang warnings.
* Use C_TAP_SOURCE and C_TAP_BUILD instead of SOURCE and BUILD.
|
|
|
|
|
|
|