All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2 2/2] network/nfs05: rewrite the test, make use of new library
Date: Tue, 16 Aug 2016 17:34:18 +0200	[thread overview]
Message-ID: <20160816153417.GF25540@rei.lan> (raw)
In-Reply-To: <1467129655-9110-2-git-send-email-alexey.kodanev@oracle.com>

Hi!
>  tst_resm TINFO "start nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM"
> -ROD nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM
> +TMPDIR=$(pwd) nfs05_make_tree -d $DIR_NUM -f $FILE_NUM -t $THREAD_NUM

Hmm, the tst_tmpdir is created and mounted in the nfs_setup right?

Why can't we just let the nfs05_make_tree work with current
directory and omit the needs_tmpdir = 1 from it's source? It's not like
the nfs05_make_tree binary is supposed to be executed directly, so it's
OK if it starts to create files in PWD.

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2016-08-16 15:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 16:00 [LTP] [PATCH v2 1/2] lib: add safe_gethostname() Alexey Kodanev
2016-06-28 16:00 ` [LTP] [PATCH v2 2/2] network/nfs05: rewrite the test, make use of new library Alexey Kodanev
2016-08-16 15:34   ` Cyril Hrubis [this message]
2016-08-16 16:01     ` Alexey Kodanev
2016-08-18 12:09       ` Alexey Kodanev

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=20160816153417.GF25540@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 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.