All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] ltp-aiodio: help aiodio test work normally
Date: Thu, 3 Jun 2021 15:40:56 +0200	[thread overview]
Message-ID: <YLjb6E5+CT3hMC4l@yuki> (raw)
In-Reply-To: <20210602182625.GJ2978781@localhost.localdomain>

Hi!
> > I do not like this solution. I think that we should instead fix the
> > scripts. I think that the runltp should just export TMPDIR if it was
> > passed on commandline and it should be the resposibility of the caller
> > to set up a temporary directory somewhere in /tmp in that case.
> 
> Sorry I can't understand your solution, would you like to show me some
> detailed code which can make the aiodio test pass, to explain what do
> you really like to do?

Looking at the testscripts/ltp-aiodio.sh it calls ltp-pan directly so
runltp is not involved at all. I guess that the simple solution here
would be exporting correct TMPDIR so that it points to the
"$TMP/aiodio".

From the testcase viewpoint TMPDIR always was the path where the test
should create files.

-- 
Cyril Hrubis
chrubis@suse.cz

      reply	other threads:[~2021-06-03 13:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01 15:54 [LTP] [PATCH] ltp-aiodio: help aiodio test work normally Zorro Lang
2021-06-02 11:49 ` Cyril Hrubis
2021-06-02 18:26   ` Zorro Lang
2021-06-03 13:40     ` 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=YLjb6E5+CT3hMC4l@yuki \
    --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.