Hi Arun, 2012/7/24, Arun Raghavan <arun.raghavan at collabora.co.uk>: > Hi Deng, > > On Mon, 2012-07-23 at 13:12 +0800, Deng Zhengrong wrote: >> With this fix, `check-daemon` doesn't need a system-wide running >> pulseaudio >> anymore. >> >> The method to use is to invoke `make check-daemon` under `src/` and it >> just >> works! :) >> > > The tests seem to be connecting to my session PulseAudio, and not the > temporary one you're spawning in the script. Please take a look and see > what's missing. I finally set things up and reproduced this issue. Now the problem is that the pulseaudio client would try to connect the DISPLAY's PULSE_SERVER by default at first. So even I set the PULSE_RUNTIME_PATH, it still use the first config server. Therefore it results to the original running pulseaudio daemon, now the workaround is simple I unset the DISPLAY env variable, and it works locally now. You can unset the DISPLAY and take a try again. The commit is placed at the top of the branch https://github.com/dzrongg/pulseaudio/tree/more-tests-converted Thanks!