Lines Matching defs:different_realm
540 bool different_realm;
542 ret = compare_principal_realm(NULL, "a", &different_realm);
545 ret = compare_principal_realm("a", NULL, &different_realm);
552 ret = compare_principal_realm("", "a", &different_realm);
555 ret = compare_principal_realm("a", "", &different_realm);
558 ret = compare_principal_realm("ABC", "ABC", &different_realm);
561 ret = compare_principal_realm("userABC", "ABC", &different_realm);
564 ret = compare_principal_realm("user@ABC", "ABC", &different_realm);
566 fail_unless(different_realm == false, "Same realm but " \
567 "different_realm is not false.");
569 ret = compare_principal_realm("user@ABC", "DEF", &different_realm);
571 fail_unless(different_realm == true, "Different realm but " \
572 "different_realm is not true.");
575 &different_realm);
577 fail_unless(different_realm == true, "Realm name longer than UPN but "
578 "different_realm is not true.");