projects/guix·blob python-team · refs

24 lines · 958 B

1Prevent strace's "readlink" and "readlinkat" tests from failing due to the
2additional system call made by glibc with the patch "glibc-dl-cache.patch"
3applied (introduced in commit 52564e9).
4
5These changes cause strace to report during these tests only system calls on
6files contained in the test directory, effectively filtering out the
7additional readlink/readlinkat call on "/proc/self/exe" and allowing the tests
8to complete as normal.
9
10diff --git a/tests/gen_tests.in b/tests/gen_tests.in
11index 8b4e2e9..cc3ca63 100644
12--- a/tests/gen_tests.in
13+++ b/tests/gen_tests.in
14@@ -623,8 +623,8 @@ quotactl-xfs-v -v -e trace=quotactl
15 read-write -a15 -eread=0,5 -ewrite=1,4 -e trace=read,write -P read-write-tmpfile -P /dev/zero -P /dev/null
16 readahead -a1
17 readdir -a16
18-readlink -xx
19-readlinkat -xx
20+readlink -xx --trace-path=test.readlink.link
21+readlinkat -xx --trace-path=test.readlinkat.link
22 reboot -s 256
23 recv-MSG_TRUNC -a26 -e trace=recv
24 recvfrom -a35