build/include the gpio.resource
[AROS.git] / test / clib / mnt_names.c
blob7b201e62678088fb95fb3bd031d198593503edfa
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/dos.h>
7 #include <dos/dos.h>
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <unistd.h>
12 #include <sys/mount.h> /* mnt_names is defined here */
13 #include "test.h"
15 int main()
17 TEST(strcmp(mnt_names[MOUNT_NONE], "none") == 0);
18 TEST(strcmp(mnt_names[MOUNT_UFS], "ufs") == 0);
19 TEST(strcmp(mnt_names[MOUNT_NFS], "nfs") == 0);
20 TEST(strcmp(mnt_names[MOUNT_MFS], "mfs") == 0);
21 TEST(strcmp(mnt_names[MOUNT_PC], "pc") == 0);
22 TEST(strcmp(mnt_names[MOUNT_ADOS_OFS], "ofs") == 0);
23 TEST(strcmp(mnt_names[MOUNT_ADOS_FFS], "ffs") == 0);
24 TEST(strcmp(mnt_names[MOUNT_ADOS_IOFS], "iofs") == 0);
25 TEST(strcmp(mnt_names[MOUNT_ADOS_IFFS], "iffs") == 0);
27 return OK;
30 void cleanup()