Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / vol / test / testpart.c
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
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
8 */
9
10 #include <afsconfig.h>
11 #include <afs/param.h>
12
13
14 #include <stdio.h>
15
16 Log(a, b, c, d, e, f, g, h, i, j, k)
17 {
18 printf(a, b, c, d, e, f, g, h, i, j, k);
19 }
20
21 iopen()
22 {
23 }
24
25 AssertionFailed()
26 {
27 printf("assertion failed\n");
28 exit(-1);
29 }
30
31 Abort()
32 {
33 printf("Aborting\n");
34 exit(-1);
35 }
36
37 main(argc, argv)
38 int argc;
39 char **argv;
40 {
41 VolumePackageOptions opts;
42
43 VOptDefaults(1, &opts);
44 if (VInitVolumePackage2(1, &opts)) {
45 printf("errors encountered initializing volume package\n");
46 exit(-1);
47 }
48 VPrintDiskStats();
49
50 }