]> The Tcpdump Group git mirrors - tcpdump/commit
Adapt TESTrun constants for older Perl. [skip ci]
authorDenis Ovsienko <[email protected]>
Fri, 23 Jul 2021 00:24:22 +0000 (01:24 +0100)
committerDenis Ovsienko <[email protected]>
Wed, 29 Sep 2021 14:08:03 +0000 (15:08 +0100)
commitdf8701676146dd8f63b34eb37c0b92e4b5bcc44b
treeeaa61d2f07094fb53ddbd7dbf470fc6608c44242
parent89bae6ab79ad31331469358726c57b40de6b5727
Adapt TESTrun constants for older Perl. [skip ci]

Solaris 9 has Perl 5.6.1, which does not support constant declaration
using a hash reference:

$ make check
./tests/TESTrun
Constant name 'HASH(0x2d8f0)' has invalid characters at ./tests/TESTrun
line 24
BEGIN failed--compilation aborted at ./tests/TESTrun line 24.
*** Error code 255
make: Fatal error: Command failed for target `check'

Declare one constant at a time to work around that and get "make check"
to start running tests (18 of which fail, but that's another issue).

(cherry picked from commit 85a27898f6b43579a108d995a5efad341f404c75)
tests/TESTrun