12 mef
.mnt_fsname
= strdupa ("/dev/sdf6");
13 mef
.mnt_dir
= strdupa ("/some dir");
14 mef
.mnt_type
= strdupa ("ext3");
15 mef
.mnt_opts
= strdupa ("opt1,opt2,noopt=6,rw,norw,brw");
19 #define TEST(opt, found) \
20 if (!!hasmntopt (&mef, (opt)) != (found)) \
22 printf ("Option %s was %sfound\n", (opt), (found) ? "not " : ""); \
43 #define TEST_FUNCTION do_test ()
44 #include "../test-skeleton.c"