GNOME Bugzilla – Bug 772471
Test suite fails if run in parallel
Last modified: 2016-10-06 12:00:23 UTC
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839849 This is the same issue as #772464. If the network-manager-vpnc build is run with make -j 4 , it fails The problem is that test-import-export and test-import-export-glib are run in parallel and they use the same tmp directory which is hard-coded to #define TMPDIR TEST_BUILDDIR"/conf-tmp" So there is a race and it's possible that they unlink files from the other running process We should use something like g_mkdtemp() instead, which ensures we have a unique directory per process. To reproduce, you need to have --with-libnm-glib, so both test-import-export and test-import-export-glib are enabled. Then run the test-suite with make check -j4
fixed in master: https://git.gnome.org/browse/network-manager-vpnc/commit/?id=e70e6d2ab88f0673e7211914155f57f34c1b4bef Thanks!