Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [LTP-20160510] acl_test01: 44: .: test.sh: not found
Date: Mon, 30 May 2016 17:32:20 +0200	[thread overview]
Message-ID: <20160530153220.GB8207@rei.lan> (raw)
In-Reply-To: <CA+icZUVDvU2JK8AbPn2hVE8QHRUAxmk0k1QHeFgw+Ncsb2V9FA@mail.gmail.com>

Hi!
> root# echo $PATH
> /opt/cmake/bin:/opt/xorg/bin:/opt/llvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

The path is added to the $PATH at the start of the runltp script, if you
want to know if it was added correctly you have to do echo $PATH at the
end of the setup() in runltp script.

> root# cd /opt/ltp ; LC_ALL=C ./runltp -s acl_test01 | tee acl_test01.log
> 
> [...]
> TESTING ACLS FOR USER root
> Trying extended acls for files
> acltest01 1 TPASS : Extended acls for files.
> Trying extended acls for file links
> acltest01 2 TPASS : Extended acls for links.
> /opt/ltp/testcases/bin/acl_test01: 44: .: test.sh: not found

This is certainly unexpected.

What is /bin/sh pointing to? Is this debian with dash?

Still this should really work.

> > Should be fixed -> I'm about to push a fix, stay tuned.
> >
> > The cleanup has been executefd twice at least since 2010 and possibly
> > since the testcase was introduced.
> >
> 
> OK, I am patient.
> Thanks for the explanations.

Fixed in:

https://github.com/linux-test-project/ltp/commit/ee2d3ee269264198837726304873195134a4232c

> > And I am only a test maintainer.
> >
> > But seriously I've glanced over the patches and it seems to implement
> > {get,set,remove}xattr via generic handlers instead of fs specific
> > handlers. And we have syscall tests for {get,set,remove}xattr...
> >
> 
> Is there a testcase around - runnable via "runltp -s $testcase_script".

These are executed as a part of syscall tests.

You can simply do ./runltp -s xattr to execute all testcases that have
xattr in their name.

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2016-05-30 15:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 13:26 [LTP] [LTP-20160510] acl_test01: 44: .: test.sh: not found Sedat Dilek
2016-05-30 14:21 ` Cyril Hrubis
2016-05-30 14:56   ` Sedat Dilek
2016-05-30 15:11     ` Cyril Hrubis
2016-05-30 15:25       ` Sedat Dilek
2016-05-30 15:32         ` Cyril Hrubis [this message]
2016-05-30 15:53           ` Sedat Dilek
2016-05-30 16:30             ` Cyril Hrubis
2016-05-30 19:51               ` Sedat Dilek
2016-05-31 15:14                 ` Cyril Hrubis
2016-05-30 19:28           ` Sedat Dilek
2016-05-30 19:56             ` Sedat Dilek
2016-05-31 15:21               ` Cyril Hrubis
2016-05-31 23:46                 ` Andreas Gruenbacher
2016-06-13 15:46                   ` Cyril Hrubis

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=20160530153220.GB8207@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox