All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boyang Xue <bxue@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [question] tst_rhost_run.sh not installed
Date: Fri, 16 Jul 2021 14:13:38 +0800	[thread overview]
Message-ID: <CAHLe9YYCDFxqoaciAcz4Ec9bU7cQPJM9SDL2_4ygjcaWx967-A@mail.gmail.com> (raw)

Hi,

I'm trying to build, install and run LTP like this:
```
git clone https://github.com/linux-test-project/ltp.git repo_ltp
pushd repo_ltp/
make autotools
./configure
make
make install
# export RHOST, LHOST, etc. test vars
export LTPROOT=/opt/ltp; export PATH=$LTPROOT/bin:$LTPROOT/testcases/bin:$PATH
./runltp -d /test -f net.nfs
```

During the test run, it complains that
```
/opt/ltp/testcases/bin/tst_net.sh: line 979: bash:: command not found
```
line#979 is:
```
eval $(tst_rhost_run -c 'tst_net_iface_prefix -r '$IPV4_RHOST || echo "exit $?")
```

I can find tst_net_iface_prefix in the $PATH, so it should be
tst_rhost_run which leads to the error.
Searching for tst_rhost_run in /opt/ltp and $PATH shows not found, so
is it a bug or did I miss something that the file wasn't installed?

It happens on the latest LTP:
```
# git rev-parse --short HEAD
5d8f9dfd6
```

Thanks,
Boyang


             reply	other threads:[~2021-07-16  6:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16  6:13 Boyang Xue [this message]
2021-07-16  6:43 ` [LTP] [question] tst_rhost_run.sh not installed Joerg Vehlow
2021-07-16 10:10   ` Petr Vorel
2021-07-17 11:33     ` Boyang Xue

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=CAHLe9YYCDFxqoaciAcz4Ec9bU7cQPJM9SDL2_4ygjcaWx967-A@mail.gmail.com \
    --to=bxue@redhat.com \
    --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.