]> granicus.if.org Git - strace/commit
tests: robustify unix domain socket decoding test
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 25 Dec 2014 00:32:23 +0000 (00:32 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 25 Dec 2014 01:13:33 +0000 (01:13 +0000)
commitf0ed167eccc5eb0d21a5488b4cba1ed3965ed1fa
treed4572418fe77bd9d18f9013d5f974de5a1b04562
parent6b5df329551bea72d3b4678b154aefa03e4d0b45
tests: robustify unix domain socket decoding test

Unix domain socket address family name is not universally decoded as
AF_LOCAL, other names like AF_UNIX and AF_FILE are valid synonyms.
Similarly, PF_UNIX and PF_FILE are valid synonyms for PF_LOCAL.

Some test regexps have to be properly initialized before they could
be used, so make sure they are initialized before use.
tests/unix-yy-accept.awk
tests/unix-yy-connect.awk