mirror of https://github.com/pwndbg/pwndbg.git
Fix archlinux ci tests (#1411)
* Fix Arch CI: install missing netcat (#1400) The arch linux test_command_procinfo was failing bcoz the netcat was not installed on arch build. This commit fixes it by: 1) installing gnu-netcat for arch linux setup-dev.sh 2) asserting that nc is available in the test itself, to prevent similar regressions from happening on future/newer images * Fix Arch CI: the load binary tests (#1400) Before this commit we asserted whether the loaded binary in tests report to find or not find debug symbols but this is irrelevant for the thing we want to test there which is: pwndbg loading. What eventually cares is whether Pwndbg got loaded and didn't raise an exception. This commit fixes those tests so they should now work also on ArchLinux CI and on all CI builds. Additionally, it removes the `compile_binary` test utility function which was redundant as we compile all test binaries via a makefile. * fix lint * cleanup tests/binaries/div_zero_binarypull/1413/head
parent
1c609eba15
commit
f78e3250c7
@ -1,6 +0,0 @@
|
||||
|
||||
all:
|
||||
gcc binary.c -o binary
|
||||
|
||||
core:
|
||||
gdb binary --nx --nh -ex run -ex 'generate-core-file core' -ex 'set confirm off' -ex quit
|
||||
@ -1,7 +0,0 @@
|
||||
import os
|
||||
|
||||
path = os.path.dirname(__file__)
|
||||
|
||||
|
||||
def get(x):
|
||||
return os.path.join(path, x)
|
||||
Loading…
Reference in new issue