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 " : ""); \