summary refs log tree commit diff stats
path: root/tests/tcg/multiarch/gdbstub/prot-none.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/multiarch/gdbstub/prot-none.py')
-rw-r--r--tests/tcg/multiarch/gdbstub/prot-none.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/multiarch/gdbstub/prot-none.py b/tests/tcg/multiarch/gdbstub/prot-none.py
index e829d3ebc5..7e264589cb 100644
--- a/tests/tcg/multiarch/gdbstub/prot-none.py
+++ b/tests/tcg/multiarch/gdbstub/prot-none.py
@@ -20,7 +20,7 @@ def probe_proc_self_mem():
 
 def run_test():
     """Run through the tests one by one"""
-    if not probe_proc_self_mem:
+    if not probe_proc_self_mem():
         print("SKIP: /proc/self/mem is not usable")
         exit(0)
     gdb.Breakpoint("break_here")