osmo-python-tests/scripts
Harald Welte be7fcf5f28 remove_tmpdir(): Support recursion / sub-directories
The existing code assumed that tmpdir only contained regular files,
not an entire hierarchy of files with sub-directories or the like.

In case sub-directories exist, the current code fails as follows:

line 176, in test_all_apps
    remove_tmpdir(tmpdir)
  File "/usr/local/lib/python3.5/dist-packages/osmopython-0.2.0-py3.5.egg/EGG-INFO/scripts/osmotestconfig.py", line 142, in remove_tmpdir
    os.unlink(os.path.join(tmpdir, f))
IsADirectoryError: [Errno 21] Is a directory: 'writtenconfig/ericsson'

Change-Id: I896b99032d94ba0cdd340a8eed7c7b625661ad69
2020-07-15 08:53:10 +02:00
..
ctrl2cgi.py ctrl2cgi: update shared helper 2019-01-07 17:04:10 +01:00
osmo_ctrl.py osmo_ctrl.py: properly ignore out-of-order traps 2018-11-28 12:37:23 +01:00
osmo_interact_ctrl.py fix osmo_interact_* and osmo_verify_transcript_* after dir split 2017-12-19 15:11:31 +00:00
osmo_interact_vty.py fix osmo_interact_* and osmo_verify_transcript_* after dir split 2017-12-19 15:11:31 +00:00
osmo_rate_ctr2csv.py scripts/*.py: mark as executable 2018-12-13 13:12:57 +01:00
osmo_trap2cgi.py osmo_trap2cgi.py: Don't recurse in ctrl_client() 2019-06-26 14:44:46 +02:00
osmo_verify_transcript_ctrl.py fix osmo_interact_* and osmo_verify_transcript_* after dir split 2017-12-19 15:11:31 +00:00
osmo_verify_transcript_vty.py fix osmo_interact_* and osmo_verify_transcript_* after dir split 2017-12-19 15:11:31 +00:00
osmodumpdoc.py Drop python2 support (again) 2019-12-11 12:28:40 +01:00
osmopy scripts: add symlink to osmopy 2017-12-20 11:11:55 +00:00
osmotestconfig.py remove_tmpdir(): Support recursion / sub-directories 2020-07-15 08:53:10 +02:00
osmotestvty.py Drop python2 support (again) 2019-12-11 12:28:40 +01:00
soap.py Trap handlers: adjust http error log 2018-12-06 11:03:24 +01:00