All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] Running LTP on new filesystems
@ 2017-01-27  9:38 Akshatha Gangadharaiah
  2017-01-30  8:25 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Akshatha Gangadharaiah @ 2017-01-27  9:38 UTC (permalink / raw)
  To: ltp

Hi everyone,

I am trying to run LTP on a new filesystem and am stuck in figuring out the right way to do this.

Specifically, if I have mounted my file system at /mnt/new-fs, I want to use this directory as mount point for all the filesystem tests.
I tried running by specifying this as the  -d TMPDIR  option ( -d /mnt/new-fs in runltp ) but I am not sure if this is the right way.

I don’t see any specific instructions on how to run LTP on new filesystems.
It will be a great help if someone points out the right way to do this or any documentation that might help.

Thanks for your time and patience,

Regards,
Akshatha G


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20170127/3427ad83/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LTP] Running LTP on new filesystems
  2017-01-27  9:38 [LTP] Running LTP on new filesystems Akshatha Gangadharaiah
@ 2017-01-30  8:25 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2017-01-30  8:25 UTC (permalink / raw)
  To: ltp

Hi!
> I am trying to run LTP on a new filesystem and am stuck in figuring out the right way to do this.
> 
> Specifically, if I have mounted my file system at /mnt/new-fs, I want to use this directory as mount point for all the filesystem tests.
> I tried running by specifying this as the  -d TMPDIR  option ( -d /mnt/new-fs in runltp ) but I am not sure if this is the right way.

This is exactly what I would have done. Most of the testcases uses
TMPDIR as a base for any temporary files and so all fs related syscalls
will end up in the right filesystem code.

There are a few testscases that use a device for testing and make
filesystem there. You have to export *FS_DEV_TYPE env variables (see
runltp -h), otherwise these default to ext2.

> I don???t see any specific instructions on how to run LTP on new
> filesystems.  It will be a great help if someone points out the right
> way to do this or any documentation that might help.

Sorry, we are a bit underdocumented in that area.

-- 
Cyril Hrubis
chrubis@suse.cz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-30  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-27  9:38 [LTP] Running LTP on new filesystems Akshatha Gangadharaiah
2017-01-30  8:25 ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.