summaryrefslogtreecommitdiffstats
path: root/src/nspawn/test-nspawn-tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nspawn/test-nspawn-tables.c')
-rw-r--r--src/nspawn/test-nspawn-tables.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nspawn/test-nspawn-tables.c b/src/nspawn/test-nspawn-tables.c
new file mode 100644
index 0000000..daea469
--- /dev/null
+++ b/src/nspawn/test-nspawn-tables.c
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
+#include "nspawn-settings.h"
+#include "test-tables.h"
+#include "tests.h"
+
+int main(int argc, char **argv) {
+ test_setup_logging(LOG_DEBUG);
+
+ test_table(resolv_conf_mode, RESOLV_CONF_MODE);
+ test_table(timezone_mode, TIMEZONE_MODE);
+
+ return 0;
+}