]> git.proxmox.com Git - mirror_qemu.git/blob - tests/tcg/multiarch/gdbstub/test-qxfer-auxv-read.py
Merge tag 'qga-pull-2024-01-30' of https://github.com/kostyanf14/qemu into staging
[mirror_qemu.git] / tests / tcg / multiarch / gdbstub / test-qxfer-auxv-read.py
1 from __future__ import print_function
2 #
3 # Test auxiliary vector is loaded via gdbstub
4 #
5 # This is launched via tests/guest-debug/run-test.py
6 #
7
8 import gdb
9 from test_gdbstub import main, report
10
11
12 def run_test():
13 "Run through the tests one by one"
14
15 auxv = gdb.execute("info auxv", False, True)
16 report(isinstance(auxv, str), "Fetched auxv from inferior")
17 report(auxv.find("sha1"), "Found test binary name in auxv")
18
19
20 main(run_test)