diff test/test_aslr.py @ 1865:d940f8007a45

Fix testing with dropbearmulti
author Matt Johnston <matt@ucc.asn.au>
date Sun, 30 Jan 2022 13:46:52 +0800
parents b550845e500b
children 1c9215154d4a
line wrap: on
line diff
--- a/test/test_aslr.py	Sun Jan 30 13:46:20 2022 +0800
+++ b/test/test_aslr.py	Sun Jan 30 13:46:52 2022 +0800
@@ -27,7 +27,7 @@
 	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]