Re: Re: [PATCH] tests/tcg: Fix the /proc/self/mem probing in the PROT_NONE gdbstub test

2024-02-05 Thread Ilya Leoshkevich
On Sat, Feb 03, 2024 at 11:48:44PM +0300, Michael Tokarev wrote: > 01.02.2024 01:02, Ilya Leoshkevich wrote: > > The `if not probe_proc_self_mem` check never passes, because > > probe_proc_self_mem is a function object, which is a truthy value. > > Add parentheses in order to perform a function cal

Re: [PATCH] tests/tcg: Fix the /proc/self/mem probing in the PROT_NONE gdbstub test

2024-02-03 Thread Michael Tokarev
01.02.2024 01:02, Ilya Leoshkevich wrote: The `if not probe_proc_self_mem` check never passes, because probe_proc_self_mem is a function object, which is a truthy value. Add parentheses in order to perform a function call. Fixes: dc84d50a7f9b ("tests/tcg: Add the PROT_NONE gdbstub test") FWIW

Re: [PATCH] tests/tcg: Fix the /proc/self/mem probing in the PROT_NONE gdbstub test

2024-02-01 Thread Richard Henderson
On 2/1/24 08:02, Ilya Leoshkevich wrote: The `if not probe_proc_self_mem` check never passes, because probe_proc_self_mem is a function object, which is a truthy value. Add parentheses in order to perform a function call. Fixes: dc84d50a7f9b ("tests/tcg: Add the PROT_NONE gdbstub test") Signed-o

[PATCH] tests/tcg: Fix the /proc/self/mem probing in the PROT_NONE gdbstub test

2024-01-31 Thread Ilya Leoshkevich
The `if not probe_proc_self_mem` check never passes, because probe_proc_self_mem is a function object, which is a truthy value. Add parentheses in order to perform a function call. Fixes: dc84d50a7f9b ("tests/tcg: Add the PROT_NONE gdbstub test") Signed-off-by: Ilya Leoshkevich --- tests/tcg/mul