Skip to content

Changes

Summary

  1. osmo_vty: re.escape() the VTY prompt in connect() (details)
Commit db4568e3d57f9236c81098bc059bad859c40db26 by Vadim Yanitskiy
osmo_vty: re.escape() the VTY prompt in connect()

The VTY prompt may contain regular expression metacharacters in it,
so the self.re_prompt will not match as expected.  One example is
the modem app in osmocom-bb.git using promot 'OsmocomBB(modem)'.

Change-Id: Ibada798a214be97409b55556724f558b67da7365
Related: osmo-python-tests.git I47b1f1c1765acb1b935dcbcc54bbb5eb539db4f0
The file was modified src/osmo_gsm_tester/obj/osmo_vty.py