summaryrefslogtreecommitdiff
path: root/tests/gen_tests.in
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2023-04-06 16:15:48 +0200
committerEugene Syromyatnikov <evgsyr@gmail.com>2023-04-06 17:37:17 +0200
commite56710c6e58f22522dab752046896dc074f221c7 (patch)
treeffb39315d34c0680edf3a698f93762ba450a0e8c /tests/gen_tests.in
parent787f85bae4ca460c33896599da176cc529bafaba (diff)
downloadstrace-e56710c6e58f22522dab752046896dc074f221c7.tar.gz
tests: expand link test, add link-P test
* tests/.gitignore: Add link-P. * tests/Makefile.am (check_PROGRAMS): Likewise. * tests/gen_tests.in (link): Add -a17 option. (link-P): New test. * tests/link-P.c: New file. * tests/link.c: Add checks, print the output based on the presence of the PATH_TRACING macro.
Diffstat (limited to 'tests/gen_tests.in')
-rw-r--r--tests/gen_tests.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gen_tests.in b/tests/gen_tests.in
index 508de29ca..8fdfdf7b1 100644
--- a/tests/gen_tests.in
+++ b/tests/gen_tests.in
@@ -479,7 +479,8 @@ landlock_restrict_self -a29
landlock_restrict_self-y -a29 -y -e trace=landlock_restrict_self 7>/dev/full
lchown -a30
lchown32 -a32
-link
+link -a17
+link-P -a17 -e trace=link -P link_sample_old
linkat
linkat--secontext --secontext -e trace=linkat
linkat--secontext_full --secontext=full -e trace=linkat