From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Running LTP on new filesystems
Date: Mon, 30 Jan 2017 09:25:38 +0100 [thread overview]
Message-ID: <20170130082538.GA29227@rei.lan> (raw)
In-Reply-To: <A8370F49-367D-4A04-BC93-A485ECFA42F7@eng.ucsd.edu>
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
prev parent reply other threads:[~2017-01-30 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 9:38 [LTP] Running LTP on new filesystems Akshatha Gangadharaiah
2017-01-30 8:25 ` Cyril Hrubis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170130082538.GA29227@rei.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox