[LTP] [LTP-20160510] acl_test01: 44: .: test.sh: not found

Sedat Dilek sedat.dilek@gmail.com
Mon May 30 21:51:28 CEST 2016


On 5/30/16, Cyril Hrubis <chrubis@suse.cz> wrote:
> 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.
>

Thanks for testing with Debian.

- Sedat -


More information about the ltp mailing list