Skip to content

Commit

Permalink
Fix travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
disconnect3d committed Apr 4, 2018
1 parent fca79aa commit e7730ab
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/test_loads.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,14 @@ def test_loads_binary_with_core_without_crashing():
expected += '''[New LWP 13562]
Core was generated by `/home/user/pwndbg/tests/corefiles/bash/binary'.
Program terminated with signal SIGINT, Interrupt.
#0 0x00007ffff76d36b0 in faccessat (fd=0, file=0x7fffffffc8ef "\322`\317E",
#0 0x00007ffff76d36b0 in faccessat (fd=0, file=0x7fffffffc8ef "'''
assert output.startswith(expected)

# Skip 4 characters as this is some random thing
output = output[len(expected)+10:]
expected = '''",
mode=1, flag=-1) at ../sysdeps/unix/sysv/linux/faccessat.c:41
41 ../sysdeps/unix/sysv/linux/faccessat.c: No such file or directory.
41 ../sysdeps/unix/sysv/linux/faccessat.c: No such file or directory.
'''

expected += HELLO
Expand Down

0 comments on commit e7730ab

Please sign in to comment.