tests: info: fix post init cat reg test on windows and with CK_FORK=no
authorTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 11:38:53 +0000 (11:38 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 11:38:53 +0000 (11:38 +0000)
commit361fbc3fdd09f4a1895e93c9e9f25612bcab67a2
tree2760ffd57c7910fbf853580f3985739851f14e49
parent3aa5ff37cdca8ab843fe035eb62f0013f7b26c44
tests: info: fix post init cat reg test on windows and with CK_FORK=no

The test checks that categories not covered by the pattern in the
GST_DEBUG string have debug level GST_LEVEL_DEFAULT set, but previous
tests mess with the default threshold, which made this test fail on
Windows or when run with CK_FORK=no. Fix this by resetting everything
at the beginning, and then also do a sanity check afterwards.
tests/check/gst/gstinfo.c