Lines Matching refs:test_boolean
487 #define test_boolean(cond) do { \ macro
604 test_boolean(!remove(4, NULL, 192, 0, 0, 0, 24)); in wg_allowedips_selftest()
607 test_boolean(!remove(4, b, 192, 0, 0, 0, 24)); in wg_allowedips_selftest()
610 test_boolean(remove(4, b, 192, 0, 0, 0, 33) == -EINVAL); in wg_allowedips_selftest()
620 test_boolean(!remove(6, NULL, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 128)); in wg_allowedips_selftest()
623 test_boolean(!remove(6, b, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 128)); in wg_allowedips_selftest()
626 test_boolean(remove(6, a, 0x24446801, 0x40e40800, 0xdeaebeef, 0xdefbeef, 129) == -EINVAL); in wg_allowedips_selftest()
692 test_boolean(count == 5); in wg_allowedips_selftest()
693 test_boolean(found_a); in wg_allowedips_selftest()
694 test_boolean(found_b); in wg_allowedips_selftest()
695 test_boolean(found_c); in wg_allowedips_selftest()
696 test_boolean(found_d); in wg_allowedips_selftest()
697 test_boolean(found_e); in wg_allowedips_selftest()
698 test_boolean(!found_other); in wg_allowedips_selftest()