]> granicus.if.org Git - strace/commit
tests: workaround old gawk versions that do not provide @include support
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 6 Apr 2015 23:40:13 +0000 (23:40 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 7 Apr 2015 00:10:39 +0000 (00:10 +0000)
commit79c5c5d792cf925afa4ed2465a96553d60a844bd
treee2f2c7d01c58dcf13da65d776b5b1718145b801f
parenta402810530e0a28df91dc3fa9b070572ed791f98
tests: workaround old gawk versions that do not provide @include support

Some of our tests use GNU awk @include extension, but not all currently
used versions of GNU awk support it.  Skip these tests if gawk does not
provide @include support.

* tests/init.sh (check_gawk): New function.
(match_awk): Use it.
tests/init.sh