diff options
author | Havoc Pennington <hp@redhat.com> | 2003-02-24 02:24:13 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-02-24 02:24:13 +0000 |
commit | 2f38c959212d98e2194139daa9120fda37415b4f (patch) | |
tree | 725edc511caad936a6ab424d451533c9ce3ff48e /dbus/dbus-test.c | |
parent | 32b4b2a2f6b4dc7b2ee07f1efb75ec8c871ca04b (diff) |
2003-02-23 Havoc Pennington <hp@pobox.com>
* dbus/dbus-keyring.c: finish most of this implementation and
simple unit test
* dbus/dbus-errors.c (dbus_set_error_const, dbus_set_error): make
these barf if the error isn't cleared to NULL
* dbus/dbus-sysdeps.c (_dbus_delete_file): set error on failure
(_dbus_create_directory): new function
* dbus/dbus-errors.c (dbus_set_error): fix warning
* dbus/dbus-string.c (_dbus_string_hex_encode): new function
(_dbus_string_hex_decode): new function
(test_hex_roundtrip): test code
* dbus/dbus-sha.c (_dbus_sha_compute): use dbus_string_hex_encode
* dbus/dbus-md5.c (_dbus_md5_compute): use dbus_string_hex_encode
* dbus/dbus-sysdeps.c (_dbus_string_save_to_file): make this use
the save-to-temp/rename trick to atomically write the new file
(_dbus_string_parse_uint): new function
Diffstat (limited to 'dbus/dbus-test.c')
-rw-r--r-- | dbus/dbus-test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index 05de8c75..b1f8ac1d 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -59,6 +59,10 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir) if (!_dbus_string_test ()) die ("strings"); + printf ("%s: running keyring tests\n", "dbus-test"); + if (!_dbus_keyring_test ()) + die ("keyring"); + printf ("%s: running md5 tests\n", "dbus-test"); if (!_dbus_md5_test ()) die ("md5"); |