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 18:30:11 +0200 [thread overview]
Message-ID: <20160530163011.GC8207@rei.lan> (raw)
In-Reply-To: <CA+icZUXB6jxR6Ro==fZ8SSAKpHQ5PLd412CNg-x7SzD+vatBxg@mail.gmail.com>
Hi!
> # echo $PATH
> /opt/cmake/bin:/opt/xorg/bin:/opt/llvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>
> # 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
>
> loop: can't delete device /dev/loop2: No such device or address
> incrementing stop
> <<<execution_status>>>
> ...
>
> # echo $PATH
> /opt/cmake/bin:/opt/xorg/bin:/opt/llvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>
> No change in $PATH after executing runltp.
Once again the $PATH is set _ONLY_ inside of the runltp script and is
inherited for everything that is executed from it not the other way
around. You _HAVE_ to print the $PATH from the runltp script after it
was initialized.
And I've reproduced it on Debian 7.2, looks like the "su $TEST_USER1"
replaces $PATH completly on Debian while it seems to retain the added
path to /opt/ltp/testcases/bin on the rest of the systems I've tried.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2016-05-30 16:30 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
2016-05-30 15:53 ` Sedat Dilek
2016-05-30 16:30 ` Cyril Hrubis [this message]
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=20160530163011.GC8207@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.