tests: Mute stdout during db_prepare()

libdbi on debian unstable (at least)
outputs: "no table in statement !"
breaking the db_test.

Redirect stdout to /dev/null and restore
after the function completes.

Closes OS#4016

Change-Id: I8227aa8fa44d3237019db52dd0825f827797261b
1 file changed
tree: 99a1cdcab1b67e1ab10d6bc357bcca4a9f46a56e
  1. contrib/
  2. debian/
  3. manuals/
  4. openbsc/
  5. .gitignore
  6. .gitreview
  7. .mailmap