mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Also switch to the Git source because the tarball contains autogenerated files and enable libunwind support. Fixes guix/guix#1248. * gnu/packages/linux.scm (strace): Update to 6.15. [source]: Switch to git-fetch. [inputs]: New field. [native-input]: Add autoconf, automake, m4 and util-linux. * gnu/packages/patches/strace-readlink-tests.patch: Adjust patch. [properties]: Remove field. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
24 lines
958 B
Diff
24 lines
958 B
Diff
Prevent strace's "readlink" and "readlinkat" tests from failing due to the
|
|
additional system call made by glibc with the patch "glibc-dl-cache.patch"
|
|
applied (introduced in commit 52564e9).
|
|
|
|
These changes cause strace to report during these tests only system calls on
|
|
files contained in the test directory, effectively filtering out the
|
|
additional readlink/readlinkat call on "/proc/self/exe" and allowing the tests
|
|
to complete as normal.
|
|
|
|
diff --git a/tests/gen_tests.in b/tests/gen_tests.in
|
|
index 8b4e2e9..cc3ca63 100644
|
|
--- a/tests/gen_tests.in
|
|
+++ b/tests/gen_tests.in
|
|
@@ -623,8 +623,8 @@ quotactl-xfs-v -v -e trace=quotactl
|
|
read-write -a15 -eread=0,5 -ewrite=1,4 -e trace=read,write -P read-write-tmpfile -P /dev/zero -P /dev/null
|
|
readahead -a1
|
|
readdir -a16
|
|
-readlink -xx
|
|
-readlinkat -xx
|
|
+readlink -xx --trace-path=test.readlink.link
|
|
+readlinkat -xx --trace-path=test.readlinkat.link
|
|
reboot -s 256
|
|
recv-MSG_TRUNC -a26 -e trace=recv
|
|
recvfrom -a35
|