Home
last modified time | relevance | path

Searched refs:port_clone (Results 1 – 1 of 1) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_port.c439 semanage_port_t *port_clone = NULL; in test_port_clone() local
452 CU_ASSERT(semanage_port_clone(sh, port, &port_clone) >= 0); in test_port_clone()
453 CU_ASSERT(semanage_port_get_low(port_clone) == 1000); in test_port_clone()
454 CU_ASSERT(semanage_port_get_high(port_clone) == 1200); in test_port_clone()
455 CU_ASSERT(semanage_port_get_proto(port_clone) == 1); in test_port_clone()
457 con2 = semanage_port_get_con(port_clone); in test_port_clone()
463 semanage_port_free(port_clone); in test_port_clone()