summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorJamie Magee <jamie.magee@gmail.com>2026-07-06 17:34:01 +0000
committerJunio C Hamano <gitster@pobox.com>2026-07-06 19:24:14 -0700
commit7454b68b6a08abdc87b8fea6ebc2c54f334860af (patch)
treec538fbb2249e093a52c8799ebde2ea47f73f70ba /contrib/persistent-https
parente9019fcafe0040228b8631c30f97ae1adb61bcdc (diff)
t0213: skip ancestry tests under user-mode emulation
The tests added in 3c8c638df6 (t0213: add trace2 cmd_ancestry tests, 2026-02-13) expect the cmd_ancestry event to name "test-tool" and "git". On Linux those names come from the "comm" field of /proc/<pid>/stat. Under user-mode emulation (e.g. qemu-user) /proc reports the emulator ("qemu-riscv64") instead, so the event is still emitted, the TRACE2_ANCESTRY probe enables the tests, and tests 2-5 fail even though they pass on native riscv64. Require the probe to see "test-tool" in the ancestry of a test-tool spawned from test-tool, so the tests skip when the names are unreliable. Cc: Matthew John Cheetham <mjcheetham@outlook.com> Signed-off-by: Jamie Magee <jamie.magee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions