changeset 1865:d940f8007a45

Fix testing with dropbearmulti
author Matt Johnston <matt@ucc.asn.au>
date Sun, 30 Jan 2022 13:46:52 +0800
parents 49ce974c3215
children adfcdfb161a4 7a6c64c4f0ac
files test/test_aslr.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]