summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace')
-rw-r--r--meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch47
-rw-r--r--meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch27
-rw-r--r--meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch52
-rw-r--r--meta/recipes-devtools/strace/strace/Makefile-ptest.patch23
-rw-r--r--meta/recipes-devtools/strace/strace/disable-git-version-gen.patch37
-rw-r--r--meta/recipes-devtools/strace/strace/mips-SIGEMT.patch33
-rw-r--r--meta/recipes-devtools/strace/strace/ptest-spacesave.patch2
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest13
-rw-r--r--meta/recipes-devtools/strace/strace/skip-load.patch49
-rw-r--r--meta/recipes-devtools/strace/strace/uintptr_t.patch27
-rw-r--r--meta/recipes-devtools/strace/strace/update-gawk-paths.patch74
11 files changed, 202 insertions, 182 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch b/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch
deleted file mode 100644
index 235e803641..0000000000
--- a/meta/recipes-devtools/strace/strace/0001-caps-abbrev.awk-fix-gawk-s-path.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 597cc206d982e7237eb93fdc33e8c4bb6bb2d796 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 9 Feb 2017 01:27:49 -0800
4Subject: [PATCH] caps-abbrev.awk: fix gawk's path
5
6It should be /usr/bin/gawk as other scripts use in this package.
7
8Upstream-Status: Pending
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11
12---
13 tests-m32/caps-abbrev.awk | 2 +-
14 tests-mx32/caps-abbrev.awk | 2 +-
15 tests/caps-abbrev.awk | 2 +-
16 3 files changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
19index c00023b..a56cd56 100644
20--- a/tests-m32/caps-abbrev.awk
21+++ b/tests-m32/caps-abbrev.awk
22@@ -1,4 +1,4 @@
23-#!/bin/gawk
24+#!/usr/bin/gawk
25 #
26 # This file is part of caps strace test.
27 #
28diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
29index c00023b..a56cd56 100644
30--- a/tests-mx32/caps-abbrev.awk
31+++ b/tests-mx32/caps-abbrev.awk
32@@ -1,4 +1,4 @@
33-#!/bin/gawk
34+#!/usr/bin/gawk
35 #
36 # This file is part of caps strace test.
37 #
38diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
39index c00023b..a56cd56 100644
40--- a/tests/caps-abbrev.awk
41+++ b/tests/caps-abbrev.awk
42@@ -1,4 +1,4 @@
43-#!/bin/gawk
44+#!/usr/bin/gawk
45 #
46 # This file is part of caps strace test.
47 #
diff --git a/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
new file mode 100644
index 0000000000..76ca7a76a8
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
@@ -0,0 +1,27 @@
1From 470399f3636c412b74f9daf6ae430b13c3126f02 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 15 Dec 2022 15:54:27 -0800
4Subject: [PATCH] configure: Use autoconf macro to detect largefile support
5
6Adds --enable-largefile/--disable-largefile configure knobs
7where default is to detect the support
8
9Upstream-Status: Submitted [https://github.com/strace/strace/pull/230]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure.ac | 2 ++
13 1 file changed, 2 insertions(+)
14
15diff --git a/configure.ac b/configure.ac
16index 4797b42dd..7d57fb254 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -43,6 +43,8 @@ AC_PROG_INSTALL
20 AC_PROG_RANLIB
21 AC_PROG_LN_S
22
23+AC_SYS_LARGEFILE
24+
25 AC_USE_SYSTEM_EXTENSIONS
26 AX_CODE_COVERAGE
27
diff --git a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
new file mode 100644
index 0000000000..0cabdfe99f
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch
@@ -0,0 +1,52 @@
1From 579b2ebe52d4b97f954e6188df2d07e137820075 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 15 Dec 2022 15:56:13 -0800
4Subject: [PATCH] tests: Replace off64_t with off_t
5
6when _FILE_OFFSET_BITS=64 then off_t is 64bit wide, this also fixes
7build on musl where off64_t is not available without _LARGEFILE64_SOURCE
8
9Upstream-Status: Submitted [https://github.com/strace/strace/pull/230]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 tests/readahead.c | 2 +-
13 tests/sync_file_range2.c | 4 ++--
14 2 files changed, 3 insertions(+), 3 deletions(-)
15
16--- a/tests/readahead.c
17+++ b/tests/readahead.c
18@@ -42,7 +42,7 @@ static const int fds[] = {
19 0x7fffffff,
20 };
21
22-static const off64_t offsets[] = {
23+static const off_t offsets[] = {
24 -0x8000000000000000LL,
25 -0x5060708090a0b0c0LL,
26 -1LL,
27--- a/tests/sync_file_range2.c
28+++ b/tests/sync_file_range2.c
29@@ -20,8 +20,8 @@ int
30 main(void)
31 {
32 const int fd = -1;
33- const off64_t offset = 0xdeadbeefbadc0ded;
34- const off64_t nbytes = 0xfacefeedcafef00d;
35+ const off_t offset = 0xdeadbeefbadc0ded;
36+ const off_t nbytes = 0xfacefeedcafef00d;
37 const unsigned int flags = -1;
38
39 int rc = sync_file_range(fd, offset, nbytes, flags);
40--- a/tests/sync_file_range.c
41+++ b/tests/sync_file_range.c
42@@ -20,8 +20,8 @@ int
43 main(void)
44 {
45 const int fd = -1;
46- const off64_t offset = 0xdeadbeefbadc0dedULL;
47- const off64_t nbytes = 0xfacefeedcafef00dULL;
48+ const off_t offset = 0xdeadbeefbadc0dedULL;
49+ const off_t nbytes = 0xfacefeedcafef00dULL;
50 const unsigned int flags = -1;
51
52 int rc = sync_file_range(fd, offset, nbytes, flags);
diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
index 42c1893f39..9af7737662 100644
--- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
+++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch
@@ -1,4 +1,4 @@
1From ee47e205255928679701a5b769bd7ae0f815119d Mon Sep 17 00:00:00 2001 1From 1f50e0a09d828be8f5b1f28db9af0b12492a1553 Mon Sep 17 00:00:00 2001
2From: Gabriel Barbu <gabriel.barbu@enea.com> 2From: Gabriel Barbu <gabriel.barbu@enea.com>
3Date: Thu, 25 Jul 2013 15:28:33 +0200 3Date: Thu, 25 Jul 2013 15:28:33 +0200
4Subject: [PATCH] strace: Add ptest 4Subject: [PATCH] strace: Add ptest
@@ -10,31 +10,32 @@ Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
11 11
12--- 12---
13 tests/Makefile.am | 19 +++++++++++++++++++ 13 tests/Makefile.am | 20 ++++++++++++++++++++
14 1 file changed, 19 insertions(+) 14 1 file changed, 20 insertions(+)
15 15
16diff --git a/tests/Makefile.am b/tests/Makefile.am 16diff --git a/tests/Makefile.am b/tests/Makefile.am
17index 8cf4c36..66162eb 100644 17index 55566ee..a7ae6f9 100644
18--- a/tests/Makefile.am 18--- a/tests/Makefile.am
19+++ b/tests/Makefile.am 19+++ b/tests/Makefile.am
20@@ -15,6 +15,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ 20@@ -16,6 +16,7 @@ SIZEOF_LONG = @SIZEOF_LONG@
21 MPERS_NAME = 21 MPERS_NAME =
22 MPERS_CC_FLAGS = 22 MPERS_CC_FLAGS =
23 ARCH_MFLAGS = 23 ARCH_MFLAGS =
24+TEST_SUITE_LOG = test-suite.log 24+TEST_SUITE_LOG = test-suite.log
25 AM_CFLAGS = $(WARN_CFLAGS) 25 AM_CFLAGS = $(WARN_CFLAGS)
26 AM_CPPFLAGS = $(ARCH_MFLAGS) \ 26 bundled_CPPFLAGS =
27 -I$(builddir) \ 27 if USE_BUNDLED_HEADERS
28@@ -538,3 +539,21 @@ BUILT_SOURCES = ksysent.h 28@@ -703,3 +704,22 @@ BUILT_SOURCES = ksysent.h
29 CLEANFILES = ksysent.h 29 CLEANFILES = ksysent.h
30 30
31 include ../scno.am 31 include ../src/scno.am
32+ 32+
33+buildtest-TESTS: $(check_PROGRAMS) $(TESTS) 33+buildtest-TESTS: $(check_PROGRAMS) $(TESTS)
34+ 34+
35+install-ptest: 35+install-ptest:
36+ install $(BUILDDIR)/strace $(DESTDIR) 36+ install -d $(DESTDIR)/src
37+ install $(srcdir)/../strace-log-merge $(DESTDIR) 37+ install $(BUILDDIR)/src/strace $(DESTDIR)/src
38+ install $(srcdir)/../src/strace-log-merge $(DESTDIR)/src
38+ install -d $(DESTDIR)/$(TESTDIR) 39+ install -d $(DESTDIR)/$(TESTDIR)
39+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR) 40+ cp $(BUILDDIR)/$(TESTDIR)/Makefile $(DESTDIR)/$(TESTDIR)
40+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile 41+ sed -i -e 's/^Makefile:/_Makefile:/' $(DESTDIR)/$(TESTDIR)/Makefile
diff --git a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
deleted file mode 100644
index e8dbd7f273..0000000000
--- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From d87a7feb5ea75da7061afdd473faba044ec8eb0f Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Mon, 18 Jan 2016 13:33:50 -0800
4Subject: [PATCH] strace: remove need for scripts
5
6git-version-gen copyright-year-gen file-date-gen are not included in
7tarball releases, so we need to avoid attempts to call them.
8
9Upstream-Status: Inappropriate [configuration]
10
11Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
12Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
13
14---
15 configure.ac | 6 +++---
16 1 file changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/configure.ac b/configure.ac
19index dd4f13f..65f000b 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -12,12 +12,12 @@
23
24 AC_PREREQ(2.57)
25 AC_INIT([strace],
26- st_esyscmd_s([./git-version-gen .tarball-version]),
27+ m4_esyscmd_s([cat .tarball-version]),
28 [strace-devel@lists.strace.io],
29 [strace],
30 [https://strace.io])
31-m4_define([copyright_year], st_esyscmd_s([./copyright-year-gen .year]))
32-m4_define([manpage_date], st_esyscmd_s([./file-date-gen strace.1.in]))
33+m4_define([copyright_year], m4_esyscmd_s([cat .year]))
34+m4_define([manpage_date], m4_esyscmd_s([cat .strace.1.in.date]))
35 AC_COPYRIGHT([Copyright (c) 1999-]copyright_year[ The strace developers.])
36 AC_CONFIG_SRCDIR([strace.c])
37 AC_CONFIG_AUX_DIR([.])
diff --git a/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch b/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch
deleted file mode 100644
index e86da9707c..0000000000
--- a/meta/recipes-devtools/strace/strace/mips-SIGEMT.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 794648d84672bbda30a920a05540b56cd155ed9d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 7 Aug 2016 23:47:57 -0700
4Subject: [PATCH] strace: Fix build with mips/mips64 on musl
5
6SIGEMT is not defined everywhere e.g musl does
7not define it. Therefore check it being defined
8before using it.
9
10Fixes errors e.g.
11../../strace-4.13/tests/signal2name.c:45:7: error: 'SIGEMT' undeclared (first use in this function)
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Upstream-Status: Pending
15
16---
17 tests/signal2name.c | 2 ++
18 1 file changed, 2 insertions(+)
19
20diff --git a/tests/signal2name.c b/tests/signal2name.c
21index 1d8e7c5..6722aa1 100644
22--- a/tests/signal2name.c
23+++ b/tests/signal2name.c
24@@ -49,7 +49,9 @@ signal2name(int sig)
25 CASE(SIGEMT);
26 CASE(SIGLOST);
27 #elif defined MIPS
28+#ifdef SIGEMT
29 CASE(SIGEMT);
30+#endif
31 CASE(SIGIOT);
32 CASE(SIGPWR);
33 #else
diff --git a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
index c5d8ff9207..4e86ccadc5 100644
--- a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
+++ b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch
@@ -22,7 +22,7 @@ index 3540204..5e1e7c9 100755
22 $hdr 22 $hdr
23 . "\${srcdir=.}/init.sh" 23 . "\${srcdir=.}/init.sh"
24 run_strace_match_diff $arg0 $args 24 run_strace_match_diff $arg0 $args
25+ rm -rf log exp 25+ rm -rf log exp out
26 EOF 26 EOF
27 ;; 27 ;;
28 28
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 3a51fb0be9..1224229e8f 100755
--- a/meta/recipes-devtools/strace/strace/run-ptest
+++ b/meta/recipes-devtools/strace/strace/run-ptest
@@ -1,6 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2
3set -u
4
2export TIMEOUT_DURATION=240 5export TIMEOUT_DURATION=240
3chown nobody tests 6make -j4 -B -C tests -k test-suite.log
4chown nobody tests/* 7res=$?
5chown nobody ../ptest 8if [ $res -ne 0 ]; then
6su nobody -c "make -B -C tests -k test-suite.log" 9 cat tests/test-suite.log
10fi
11exit $res
diff --git a/meta/recipes-devtools/strace/strace/skip-load.patch b/meta/recipes-devtools/strace/strace/skip-load.patch
new file mode 100644
index 0000000000..b1acfda5d8
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/skip-load.patch
@@ -0,0 +1,49 @@
1Skip tests which are known to be unreliable under load, typically because they
2care about timing.
3
4Upstream-Status: Inappropriate
5Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7---
8 tests/clock_nanosleep.gen.test | 1 +
9 tests/delay.test | 1 +
10 tests/strace-r.test | 1 +
11 3 files changed, 3 insertions(+)
12
13diff --git a/tests/clock_nanosleep.gen.test b/tests/clock_nanosleep.gen.test
14index 7a6025b..f0e6dbb 100755
15--- a/tests/clock_nanosleep.gen.test
16+++ b/tests/clock_nanosleep.gen.test
17@@ -1,4 +1,5 @@
18 #!/bin/sh -efu
19 # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock_nanosleep -e trace=clock_nanosleep,clock_gettime); do not edit.
20 . "${srcdir=.}/init.sh"
21+skip_ "Test not reliable under load"
22 run_strace_match_diff -e trace=clock_nanosleep,clock_gettime
23diff --git a/tests/delay.test b/tests/delay.test
24index f74e27f..6172c04 100755
25--- a/tests/delay.test
26+++ b/tests/delay.test
27@@ -8,6 +8,7 @@
28 # SPDX-License-Identifier: GPL-2.0-or-later
29
30 . "${srcdir=.}/init.sh"
31+skip_ "Test not reliable under load"
32
33 while read -r denter dexit denter_us dexit_us; do
34 [ -n "$denter" ] || continue
35diff --git a/tests/strace-r.test b/tests/strace-r.test
36index 8299737..d89c7df 100755
37--- a/tests/strace-r.test
38+++ b/tests/strace-r.test
39@@ -8,6 +8,7 @@
40 # SPDX-License-Identifier: GPL-2.0-or-later
41
42 . "${srcdir=.}/init.sh"
43+skip_ "Test not reliable under load"
44
45 r_opt="${1:--r}"
46
47--
482.25.1
49
diff --git a/meta/recipes-devtools/strace/strace/uintptr_t.patch b/meta/recipes-devtools/strace/strace/uintptr_t.patch
deleted file mode 100644
index 088d685af0..0000000000
--- a/meta/recipes-devtools/strace/strace/uintptr_t.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From a6c9366bfbcef6f3f4bb068b1f1a5623935b5013 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 5 Nov 2019 20:05:08 -0800
4Subject: [PATCH] include stdint.h for getting uintptr_t definition
5
6fixes do_compile_ptest_base
7tests/fanotify_mark.c:191:23: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'?
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12---
13 tests/fanotify_mark.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c
17index aade643..de579f3 100644
18--- a/tests/fanotify_mark.c
19+++ b/tests/fanotify_mark.c
20@@ -18,6 +18,7 @@
21
22 # include <limits.h>
23 # include <stdio.h>
24+# include <stdint.h>
25 # include <unistd.h>
26 # include <sys/fanotify.h>
27
diff --git a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
index d46b147de5..a16ede95c2 100644
--- a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
+++ b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch
@@ -1,4 +1,4 @@
1From 12a726b280eca94883edcb4da1eaaf8e93d41739 Mon Sep 17 00:00:00 2001 1From 4cd26cfaec255ec87f22abe886e0be89312a9671 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com> 2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Mon, 18 Jan 2016 11:01:00 -0800 3Date: Mon, 18 Jan 2016 11:01:00 -0800
4Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk 4Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk
@@ -13,7 +13,7 @@ Upstream-Status: Inappropriate [configuration]
13Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 13Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
14 14
15--- 15---
16 mpers.awk | 2 +- 16 src/mpers.awk | 2 +-
17 tests-m32/caps.awk | 2 +- 17 tests-m32/caps.awk | 2 +-
18 tests-m32/match.awk | 2 +- 18 tests-m32/match.awk | 2 +-
19 tests-m32/rt_sigaction.awk | 2 +- 19 tests-m32/rt_sigaction.awk | 2 +-
@@ -25,18 +25,18 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
25 tests/rt_sigaction.awk | 2 +- 25 tests/rt_sigaction.awk | 2 +-
26 10 files changed, 10 insertions(+), 10 deletions(-) 26 10 files changed, 10 insertions(+), 10 deletions(-)
27 27
28diff --git a/mpers.awk b/mpers.awk 28diff --git a/src/mpers.awk b/src/mpers.awk
29index 17f8f2b..d69dcd5 100644 29index 25a212f..b2ff53f 100644
30--- a/mpers.awk 30--- a/src/mpers.awk
31+++ b/mpers.awk 31+++ b/src/mpers.awk
32@@ -1,4 +1,4 @@ 32@@ -1,4 +1,4 @@
33-#!/bin/gawk 33-#!/bin/gawk
34+#!/usr/bin/gawk 34+#!/usr/bin/gawk
35 # 35 #
36 # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> 36 # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com>
37 # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org> 37 # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io>
38diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk 38diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk
39index 941564a..0bcc3ff 100644 39index 69500ec..e5dfd87 100644
40--- a/tests-m32/caps.awk 40--- a/tests-m32/caps.awk
41+++ b/tests-m32/caps.awk 41+++ b/tests-m32/caps.awk
42@@ -1,4 +1,4 @@ 42@@ -1,4 +1,4 @@
@@ -46,27 +46,27 @@ index 941564a..0bcc3ff 100644
46 # This file is part of caps strace test. 46 # This file is part of caps strace test.
47 # 47 #
48diff --git a/tests-m32/match.awk b/tests-m32/match.awk 48diff --git a/tests-m32/match.awk b/tests-m32/match.awk
49index d91c518..ee5d908 100644 49index 1cde87c..df63f78 100644
50--- a/tests-m32/match.awk 50--- a/tests-m32/match.awk
51+++ b/tests-m32/match.awk 51+++ b/tests-m32/match.awk
52@@ -1,4 +1,4 @@ 52@@ -1,4 +1,4 @@
53-#!/bin/gawk 53-#!/bin/gawk
54+#!/usr/bin/gawk 54+#!/usr/bin/gawk
55 # 55 #
56 # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org> 56 # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
57 # All rights reserved. 57 # All rights reserved.
58diff --git a/tests-m32/rt_sigaction.awk b/tests-m32/rt_sigaction.awk 58diff --git a/tests-m32/rt_sigaction.awk b/tests-m32/rt_sigaction.awk
59index 81dd813..9cd9549 100644 59index dce78f5..573d9ea 100644
60--- a/tests-m32/rt_sigaction.awk 60--- a/tests-m32/rt_sigaction.awk
61+++ b/tests-m32/rt_sigaction.awk 61+++ b/tests-m32/rt_sigaction.awk
62@@ -1,4 +1,4 @@ 62@@ -1,4 +1,4 @@
63-#!/bin/gawk 63-#!/bin/gawk
64+#!/usr/bin/gawk 64+#!/usr/bin/gawk
65 # 65 #
66 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org> 66 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
67 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> 67 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
68diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk 68diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk
69index 941564a..0bcc3ff 100644 69index 69500ec..e5dfd87 100644
70--- a/tests-mx32/caps.awk 70--- a/tests-mx32/caps.awk
71+++ b/tests-mx32/caps.awk 71+++ b/tests-mx32/caps.awk
72@@ -1,4 +1,4 @@ 72@@ -1,4 +1,4 @@
@@ -76,27 +76,27 @@ index 941564a..0bcc3ff 100644
76 # This file is part of caps strace test. 76 # This file is part of caps strace test.
77 # 77 #
78diff --git a/tests-mx32/match.awk b/tests-mx32/match.awk 78diff --git a/tests-mx32/match.awk b/tests-mx32/match.awk
79index d91c518..ee5d908 100644 79index 1cde87c..df63f78 100644
80--- a/tests-mx32/match.awk 80--- a/tests-mx32/match.awk
81+++ b/tests-mx32/match.awk 81+++ b/tests-mx32/match.awk
82@@ -1,4 +1,4 @@ 82@@ -1,4 +1,4 @@
83-#!/bin/gawk 83-#!/bin/gawk
84+#!/usr/bin/gawk 84+#!/usr/bin/gawk
85 # 85 #
86 # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org> 86 # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
87 # All rights reserved. 87 # All rights reserved.
88diff --git a/tests-mx32/rt_sigaction.awk b/tests-mx32/rt_sigaction.awk 88diff --git a/tests-mx32/rt_sigaction.awk b/tests-mx32/rt_sigaction.awk
89index 81dd813..9cd9549 100644 89index dce78f5..573d9ea 100644
90--- a/tests-mx32/rt_sigaction.awk 90--- a/tests-mx32/rt_sigaction.awk
91+++ b/tests-mx32/rt_sigaction.awk 91+++ b/tests-mx32/rt_sigaction.awk
92@@ -1,4 +1,4 @@ 92@@ -1,4 +1,4 @@
93-#!/bin/gawk 93-#!/bin/gawk
94+#!/usr/bin/gawk 94+#!/usr/bin/gawk
95 # 95 #
96 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org> 96 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
97 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> 97 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
98diff --git a/tests/caps.awk b/tests/caps.awk 98diff --git a/tests/caps.awk b/tests/caps.awk
99index 941564a..0bcc3ff 100644 99index 69500ec..e5dfd87 100644
100--- a/tests/caps.awk 100--- a/tests/caps.awk
101+++ b/tests/caps.awk 101+++ b/tests/caps.awk
102@@ -1,4 +1,4 @@ 102@@ -1,4 +1,4 @@
@@ -106,22 +106,52 @@ index 941564a..0bcc3ff 100644
106 # This file is part of caps strace test. 106 # This file is part of caps strace test.
107 # 107 #
108diff --git a/tests/match.awk b/tests/match.awk 108diff --git a/tests/match.awk b/tests/match.awk
109index d91c518..ee5d908 100644 109index 1cde87c..df63f78 100644
110--- a/tests/match.awk 110--- a/tests/match.awk
111+++ b/tests/match.awk 111+++ b/tests/match.awk
112@@ -1,4 +1,4 @@ 112@@ -1,4 +1,4 @@
113-#!/bin/gawk 113-#!/bin/gawk
114+#!/usr/bin/gawk 114+#!/usr/bin/gawk
115 # 115 #
116 # Copyright (c) 2014-2018 Dmitry V. Levin <ldv@altlinux.org> 116 # Copyright (c) 2014-2021 Dmitry V. Levin <ldv@strace.io>
117 # All rights reserved. 117 # All rights reserved.
118diff --git a/tests/rt_sigaction.awk b/tests/rt_sigaction.awk 118diff --git a/tests/rt_sigaction.awk b/tests/rt_sigaction.awk
119index 81dd813..9cd9549 100644 119index dce78f5..573d9ea 100644
120--- a/tests/rt_sigaction.awk 120--- a/tests/rt_sigaction.awk
121+++ b/tests/rt_sigaction.awk 121+++ b/tests/rt_sigaction.awk
122@@ -1,4 +1,4 @@ 122@@ -1,4 +1,4 @@
123-#!/bin/gawk 123-#!/bin/gawk
124+#!/usr/bin/gawk 124+#!/usr/bin/gawk
125 # 125 #
126 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org> 126 # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io>
127 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> 127 # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com>
128diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk
129index c00023b..a56cd56 100644
130--- a/tests-m32/caps-abbrev.awk
131+++ b/tests-m32/caps-abbrev.awk
132@@ -1,4 +1,4 @@
133-#!/bin/gawk
134+#!/usr/bin/gawk
135 #
136 # This file is part of caps strace test.
137 #
138diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk
139index c00023b..a56cd56 100644
140--- a/tests-mx32/caps-abbrev.awk
141+++ b/tests-mx32/caps-abbrev.awk
142@@ -1,4 +1,4 @@
143-#!/bin/gawk
144+#!/usr/bin/gawk
145 #
146 # This file is part of caps strace test.
147 #
148diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk
149index c00023b..a56cd56 100644
150--- a/tests/caps-abbrev.awk
151+++ b/tests/caps-abbrev.awk
152@@ -1,4 +1,4 @@
153-#!/bin/gawk
154+#!/usr/bin/gawk
155 #
156 # This file is part of caps strace test.
157 #