2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
11 * Test the kopenafs setpag support.
21 main(int argc
, char *argv
[])
26 printf("%s in a PAG\n", k_haspag() ? "Currently" : "Not currently");
27 printf("Running k_setpag\n");
29 printf("Status: %d, errno: %d\n", status
, errno
);
31 printf("Error: not in a PAG after k_setpag()\n");
34 execvp(argv
[0], argv
);
37 printf("AFS apparently not running\n");