On 11/20/2012 08:31 PM, Michael Felt wrote:
root@x104:[/data/prj/gnu/
coreutils/coreutils-8.20]cd tests
root@x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]truss -f -o /tmp/tr
m>
cd .. && make check TESTS=tests/tail-2/F-vs-missing.sh SUBDIRS=.

All make invocations must be from the top level directory now,
where the Makefile is. Notice the cd .. above which moves you
to the top level dir

=============
1 test passed
=============

So, for directory ./tests it passes; from . it does not :)
=========
root@x104:[/data/prj/gnu/coreutils/coreutils-8.20/tests]cd ..
root@x104:[/data/prj/gnu/coreutils/coreutils-8.20]truss -f -o /tmp/tr make
check TESTS=tail-2/F-vs-missing.sh

So this is from the same dir as above but is missing the required tests/
prefix to the TESTS path

cat: tail-2/F-vs-missing.log: No such file or directory

thanks,
Pádraig.



Reply via email to