Fix tests after rate_ctr change

Recent change lin libosmocore disallow registering rate_ctr with the
same name and indexing multiple times. To accommodate to this:

* allocate network struct once and use it for all tests
* free bts struct after each test

This is a backport of 4ab7268a902af24fcd4870148b709fed4fbf900c from
OsmoBSC.

Change-Id: Ic5fab86bca617cabcd59484066975e17ab2320b6
Related: OS#2757
3 files changed
tree: 9ace2ae05a5b8f23bf92e531acc5652f19025f05
  1. contrib/
  2. debian/
  3. openbsc/
  4. .gitignore
  5. .gitreview
  6. .mailmap