From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH v2] fs/acls: fix some permission issue in the testcase
Date: Thu, 12 Mar 2015 10:44:54 +0100 [thread overview]
Message-ID: <20150312094453.GB29425@rei> (raw)
In-Reply-To: <1426151599.1400.32.camel@dhcp-13-206.nay.redhat.com>
Hi!
> > This looks more like TBROK as well. And even better the test should use
> > tst_tmpdir() and tst_rmdir() to create temporary directories.
> sorry, I don't know how to replace the $TMP/tacl by tst_rmdir() function
> in this test.
> any detail instruction here?
The tst_tmpdir() creates an unique test temporary directory and changes
the working directory to it.
The testcases usually call tst_tmpdir() in the setup and then proceed
with creating temporary files with local paths so that they end up
creating files in the working directory.
The temporary directory is then deleted recursively with tst_rmdir() in
test cleanup.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2015-03-12 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 5:55 [LTP] [PATCH v2] fs/acls: fix some permission issue in the testcase Li Wang
2015-03-11 12:30 ` Cyril Hrubis
[not found] ` <1426151599.1400.32.camel@dhcp-13-206.nay.redhat.com>
2015-03-12 9:40 ` Cyril Hrubis
2015-03-12 9:44 ` 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=20150312094453.GB29425@rei \
--to=chrubis@suse.cz \
--cc=liwang@redhat.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