This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.
gitosis at osmocom.org gitosis at osmocom.orgThis is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "UNNAMED PROJECT". The branch, master has been updated via 726b58dcfbbdfc95ae0872e20a2f6066ce37fed2 (commit) via 92f310500cfd68851f00c813e6d86af375f17311 (commit) from d2e793a58aceb19fea1d29b550894407331fea7f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=726b58dcfbbdfc95ae0872e20a2f6066ce37fed2 commit 726b58dcfbbdfc95ae0872e20a2f6066ce37fed2 Author: Neels Hofmeyr <neels at hofmeyr.de> Date: Sun Oct 15 03:01:09 2017 +0200 add osmo_verify_transcript_{vty,ctrl}.py for easier vty and ctrl testing While adding VTY and CTRL tests to new programs like OsmoHLR, I wanted to have a simple way to translate a VTY interaction transcript to a VTY python test. It is fairly trivial to simply read in a transcript, extract both the commands to send as well as the expected results, and to verify these without having to write one line of application-specific code. From there it was just a little step to allow the same for CTRL interaction. With osmo_verify_transcript_vty.py and osmo_verify_transcript_ctrl.py, it is possible to have a simple text file of a telnet VTY or CTRL interface interaction and run it against a given application. With the --update option, the scripts run the given command and rewrite the transcript file to whatever the application currently produces as response. Backed by version control, it is super easy to tweak commands, --update the test results and verify that only the desired bits changed. A '...' wildcard can skip any number of lines in the expected result and is usually preserved during --update. This python3 implementation is independent from the previous obscvty implementations. Take the opportunity to clarify/fix a few aspects: for example, it is now possible to verify the hints that the interactive VTY displays when the user enters '?' in various places, and to evaluate the prompt character '>'/'#'. Unitl now, code is duplicated/scattered across various vty_test_runner.py scripts in different git repositories. Now, a VTY or CTRL transcript is enough to put a complete test in place. The simplest invocation is directly from the Makefile, feeding an application commandline, the proper port number to contact it and e.g. a VTY prompt name. This new code is also usable as python modules, to be able to build more complex tests that require specialized intermediate actions, possibly coordinating launch of applications or data manipulation. The first repository to employ this is osmo-hlr.git. See change-ids I42b3b70a0439a8f2e4964d7cc31e593c1f0d7537 for VTY and Iff93abe370b8f3ecf42082d1d0eaa1fbeca5b122 for CTRL. Change-Id: Id47331009910e651372b9c9c76e12f2e8964cc2c http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=92f310500cfd68851f00c813e6d86af375f17311 commit 92f310500cfd68851f00c813e6d86af375f17311 Author: Neels Hofmeyr <neels at hofmeyr.de> Date: Sun Oct 15 02:57:08 2017 +0200 add osmo_ipa.py, from originally openbsc.git/contrib/ipa.py At least now that openbsc.git has been split, the IPA and Ctrl API offered by this file are used across multiple git repositories for python tests. Instead of having a separate copy of ipa.py in each, have one here. Rename to osmo_ipa.py to avoid any confusion between old and new files that might be lying around in the python path. Change-Id: Iaef955f04b97e8f266339b37b46d2523d1247cb9 ----------------------------------------------------------------------- Summary of changes: osmopy/__init__.py | 6 +- osmopy/osmo_ipa.py | 278 ++++++++++++++++++++++++ osmopy/osmo_verify_transcript_common.py | 372 ++++++++++++++++++++++++++++++++ osmopy/osmo_verify_transcript_ctrl.py | 120 +++++++++++ osmopy/osmo_verify_transcript_vty.py | 178 +++++++++++++++ setup.py | 4 +- 6 files changed, 956 insertions(+), 2 deletions(-) create mode 100755 osmopy/osmo_ipa.py create mode 100644 osmopy/osmo_verify_transcript_common.py create mode 100755 osmopy/osmo_verify_transcript_ctrl.py create mode 100755 osmopy/osmo_verify_transcript_vty.py hooks/post-receive -- UNNAMED PROJECT