| 1 | Prevent strace's "readlink" and "readlinkat" tests from failing due to the
|
| 2 | additional system call made by glibc with the patch "glibc-dl-cache.patch"
|
| 3 | applied (introduced in commit 52564e9).
|
| 4 |
|
| 5 | These changes cause strace to report during these tests only system calls on
|
| 6 | files contained in the test directory, effectively filtering out the
|
| 7 | additional readlink/readlinkat call on "/proc/self/exe" and allowing the tests
|
| 8 | to complete as normal.
|
| 9 |
|
| 10 | diff --git a/tests/gen_tests.in b/tests/gen_tests.in
|
| 11 | index 8b4e2e9..cc3ca63 100644
|
| 12 | |
| 13 | |
| 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
|