Hi! > + dev = tst_acquire_device(cleanup); > + if (!dev) > + tst_brkm(TCONF, cleanup, "Failed to acquire test device"); > > - SAFE_SETEUID(cleanup, ltpuser->pw_uid); > + tst_mkfs(cleanup, dev, "ext2", NULL); > + > + SAFE_MKDIR(cleanup, MNT_POINT, 0644); > + if (mount(dev, MNT_POINT, "ext2", MS_RDONLY, NULL) < 0) { > + tst_brkm(TBROK | TERRNO, cleanup, > + "mount device:%s failed", dev); > + } > + mount_flag = 1; > + > + ltpuser = SAFE_GETPWNAM(cleanup, "nobody"); > }
I've changed this part to use the tst_dev_fs_type() function to determine the filesystem type (that I've added for this purpose) and pushed, thanks. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list