]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/test/test-nscd-flush.c
1 /* SPDX-License-Identifier: LGPL-2.1+ */
4 #include "nscd-flush.h"
8 static int run(int argc
, char *argv
[]) {
11 test_setup_logging(LOG_DEBUG
);
13 r
= nscd_flush_cache(STRV_MAKE("group", "passwd", "hosts"));
15 return log_error_errno(r
, "Failed to flush NSCD cache");
20 DEFINE_MAIN_FUNCTION(run
);