Fix testing with dropbearmulti

This commit is contained in:
Matt Johnston 2022-01-30 13:46:52 +08:00
parent d367503fb0
commit 3fb2406717

View File

@ -27,7 +27,7 @@ def test_reexec(request, dropbear):
print(map2)
# expect something like
# "563174d59000-563174d5d000 r--p 00000000 00:29 4242372 /home/matt/src/dropbear/build/dropbear"
assert map1.endswith('/dropbear')
assert map1.endswith('/dropbear') or map1.endswith('/dropbearmulti')
assert ' r--p ' in map1
a1 = map1.split()[0]
a2 = map2.split()[0]