XXX don't run the test unless the machine is in kth.se or su.se

because it depends on local resolver configuration.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15283 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-29 18:21:54 +00:00
parent 8747330f8c
commit 7c2839a3d5

View File

@@ -153,8 +153,16 @@ main(int argc, char **argv)
struct testcase *t;
krb5_context context;
krb5_error_code ret;
char hostname[1024];
int val = 0;
setprogname(argv[0]);
gethostname(hostname, sizeof(hostname));
if (strstr(hostname, "kth.se") == NULL &&
strstr(hostname, "su.se") == NULL)
return 0;
for (t = tests; t->v4_name; ++t) {
krb5_principal princ;
int i;