Reputation: 777
I want to see the commands that are ran by the coreutils test commands. For example, assuming that I am running the inode.sh test of ls, I do:
make check TESTS=tests/ls/inode.sh VERBOSE=yes SUBDIRS=.
I would like to see exactly which 'ls' commands the test is running. That is to say which ls commands are run by inode.sh. Any idea?
Upvotes: 0
Views: 886
Reputation: 31748
How about:
strace -f -e execve -o execs.out \
make check TESTS=tests/ls/inode.sh VERBOSE=yes SUBDIRS=.
grep -F src/ execs.out
Upvotes: 1