testing: avoid false warning
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 25 Mar 2013 13:37:26 +0000 (14:37 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Tue, 26 Mar 2013 14:13:39 +0000 (15:13 +0100)
commitf7035a7e21ef37329cf4fea9fb569d94185d5751
treee04296bd54479603eae77f6174e19ea12dfdf6a6
parent9064f78a3d57f1141eb67b247aa2627accf79e24
testing: avoid false warning

When FOLKS_BACKEND_PATH is set to the build dirs during testing, the
"content type of '%s' appears to be '%s' which looks suspicious. Have
you installed shared-mime-info?" warning gets triggered repeatedly,
because these dirs contain all kinds of files (executables, compiler
dependency files, etc.) which are not expected in the normal install
location.

This is annoying when running a test with "make <test>.gdb" because
gdb stops on a glib trace point for each warning. Therefore disable
the warning when FOLKS_BACKEND_PATH is set. Extending the whitelist
has the drawback that it might not catch all files that can appear
there in the future.
folks/backend-store.vala