]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tests: add lxc.monitor.signal.pdeath 2472/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 16 Jul 2018 13:22:13 +0000 (15:22 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 16 Jul 2018 13:23:31 +0000 (15:23 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/tests/parse_config_file.c

index 73b8fc3c6cfeeebbf807ba1e76bafef60171a674..b6034ef20d9ae6065ac068c5f6a33672bfadefd1 100644 (file)
@@ -911,6 +911,12 @@ int main(int argc, char *argv[])
                goto non_test_error;
        }
 
+       ret = set_get_compare_clear_save_load(c, "lxc.monitor.signal.pdeath", "SIGKILL", tmpf, true);
+       if (ret == 0) {
+               lxc_error("%s\n", "lxc.hook.version");
+               goto non_test_error;
+       }
+
        fret = EXIT_SUCCESS;
 
 non_test_error: