chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev: path_id - set supported_parent for well-known SCSI setups
[elogind.git]
/
src
/
journal
/
test-catalog.c
diff --git
a/src/journal/test-catalog.c
b/src/journal/test-catalog.c
index b087a8b81cacabb6a658b1ea28de270d753f3d57..5fe2f6a2697e6bb65ba264b2c274e297a013293a 100644
(file)
--- a/
src/journal/test-catalog.c
+++ b/
src/journal/test-catalog.c
@@
-62,7
+62,7
@@
static void test_catalog_importing(void) {
Hashmap *h;
struct strbuf *sb;
Hashmap *h;
struct strbuf *sb;
- assert_se(h = hashmap_new(
catalog_hash_func, catalog_compare_func
));
+ assert_se(h = hashmap_new(
&catalog_hash_ops
));
assert_se(sb = strbuf_new());
#define BUF "xxx"
assert_se(sb = strbuf_new());
#define BUF "xxx"
@@
-157,7
+157,8
@@
int main(int argc, char *argv[]) {
setlocale(LC_ALL, "de_DE.UTF-8");
setlocale(LC_ALL, "de_DE.UTF-8");
- log_set_max_level(LOG_DEBUG);
+ log_parse_environment();
+ log_open();
test_catalog_file_lang();
test_catalog_file_lang();