]> The Tcpdump Group git mirrors - tcpdump/commit
Have the scripts get the tests directory from $0.
authorGuy Harris <[email protected]>
Mon, 19 Aug 2019 03:24:18 +0000 (20:24 -0700)
committerGuy Harris <[email protected]>
Mon, 19 Aug 2019 03:24:18 +0000 (20:24 -0700)
commitfe372439583a16c648927a1173dfb29998a81879
tree40cb0a230bb4a71e5728d3379b11b936479689d6
parent19e63b148b385f238d94e9b159de06c89cfee02e
Have the scripts get the tests directory from $0.

That means we don't have to cook up a way to pass $(srcdir) to them - we
run them from $(srcdir), so they can pick it up from there.  If you run
them by running tests/TESTrun.sh from the command line, that will also
work; we assume that it's not found from $PATH.

TESTrun.sh and the other scripts run scripts with a path that includes
${testsdir}, so the other scripts are run with a path (they're not
intended to be run from the command line - you're supposed to use
TESTrun.sh, even if you're just running one test).
Makefile.in
tests/TESTrun.sh
tests/crypto.sh
tests/isis-seg-fault-1-v.sh
tests/lmp-v.sh