int main(int argc, char *argv[]) { test_cap_list(); test_last_cap_file(); test_last_cap_probe(); return 0; }
int main(int argc, char *argv[]) { int r; bool run_ambient; test_last_cap_file(); test_last_cap_probe(); log_parse_environment(); log_open(); log_info("have ambient caps: %s", yes_no(ambient_capabilities_supported())); if (getuid() != 0) return EXIT_TEST_SKIP; r = setup_tests(&run_ambient); if (r < 0) return -r; show_capabilities(); test_drop_privileges(); test_update_inherited_set(); fork_test(test_have_effective_cap); if (run_ambient) fork_test(test_set_ambient_caps); return 0; }