Fix memleak just introduced. Thanks to abartlet :-)
[Samba/gebeck_regimport.git] / source3 / tests / summary.c
blob79a530b0136322e6fb2b0bbe7c9f3b40b54207fa
1 #include <stdio.h>
3 main()
5 #if !(defined(HAVE_FCNTL_LOCK) || defined(HAVE_STRUCT_FLOCK64))
6 printf("ERROR: No locking available. Running Samba would be unsafe\n");
7 exit(1);
8 #endif
10 #if !(defined(HAVE_IFACE_IFCONF) || defined(HAVE_IFACE_IFREQ) || defined(HAVE_IFACE_AIX))
11 printf("WARNING: No automated network interface determination\n");
12 #endif
14 #if !(defined(USE_SETEUID) || defined(USE_SETREUID) || defined(USE_SETRESUID) || defined(USE_SETUIDX))
15 printf("ERROR: no seteuid method available\n");
16 exit(1);
17 #endif
19 #if !(defined(STAT_STATVFS) || defined(STAT_STATVFS64) || defined(STAT_STATFS3_OSF1) || defined(STAT_STATFS2_BSIZE) || defined(STAT_STATFS4) || defined(STAT_STATFS2_FSIZE) || defined(STAT_STATFS2_FS_DATA))
20 printf("ERROR: No disk free routine!\n");
21 exit(1);
22 #endif
24 #if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
25 printf("ERROR: No random or srandom routine!\n");
26 exit(1);
27 #endif
29 exit(0);