public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: Henry Yei <hyei@mvista.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH][runtest/fs] fix issue where growfiles tests	still not creating temp files in directory specified by TMPDIR as expected
Date: Mon, 14 Jun 2010 18:04:27 +0530	[thread overview]
Message-ID: <1276518868.4885.9.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <AANLkTik7Ez_k6vndvmd61jVhxlOjFFV8ih590qUtmE-3@mail.gmail.com>

On Fri, 2010-06-11 at 15:40 -0700, Henry Yei wrote: 
> This is an updated patch which changes the arguments for gf12, gf13
> test to use the named pipes created by mkfifo properly, rather then
> the ordinary file created by and incorporates the previous changes.
> Hopefully that catches everything, these fs tests are quite hard to
> interpret.
> 
> Henry Yei <hyei@mvista.com>

Thanks.

Regards--
Subrata

> 
> On Wed, Jun 9, 2010 at 6:32 PM, Henry Yei <hyei@mvista.com> wrote:
> > On Wed, Jun 9, 2010 at 6:30 PM, Henry Yei <hyei@mvista.com> wrote:
> >> Hello,
> >>
> >> A previous patch that attempts to force tests to use the TMPDIR env
> >> variable is incomplete. This patch fixes growfiles test arguments in
> >> the fs scenario.
> >>
> >> Scripts which use growfiles with command-line file names are not performing the
> >> tests in the expected target directory. When file names are provided on the
> >> growfiles command line, they are taken relative to the cwd and not the -d
> >> auto_dir passed on the command line. This renders many of the test scripts in
> >> runtests ineffective in that the tests are not being performed on the expected
> >> filesystem.
> >>
> >> For example, the first line of the fs scenario reads:
> >>
> >> gf01 growfiles -B 800000 -W gf01 -b -e 1 -u -i 0 -L 20 -w -C 1 -l -I r -T 10
> >> glseek20 glseek20.2 -d $TMPDIR
> >>
> >> The -d $TMPDIR construct is almost always used in the scripts to point to the
> >> filesystem under test. However, the presence of the
> >> glseek20 glseek20.2 command line parameters constitute full file names from the
> >> test's view, so they will be used as-is (in the current working directory) as
> >> opposed to $TMPDIR/glseek20 or $TMPDIR/glseek20.2 as expected by the script.
> >>
> >> To get the desired behavior, here are the key switches:
> >>
> >> -f specifies the 'auto_file' which is the base file name (gf is used if it's
> >> missing)
> >>
> >> -d specifies the 'auto_dir' to be used ('.' is used if it's missing)
> >>
> >> -S specifies the number of 'auto seq' files to be used. These files are of the
> >> form: "%s/%s%d" using auto_dir, auto_file, file_number.
> >>
> >>
> >> Signed-off-by: Henry Yei <hyei@mvista.com>
> >>
> >
> > Patch for review now attached!
> >
> > Henry Yei <hyei@mvista.com>
> >
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2010-06-14 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-10  1:30 [LTP] [PATCH][runtest/fs] fix issue where growfiles tests still not creating temp files in directory specified by TMPDIR as expected Henry Yei
2010-06-10  1:32 ` Henry Yei
2010-06-11 22:40   ` Henry Yei
2010-06-14 12:34     ` Subrata Modak [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=1276518868.4885.9.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=hyei@mvista.com \
    --cc=ltp-list@lists.sourceforge.net \
    /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