[patch] Use user specific systemtap cache in testsuite

Mark Wielaard mwielaard@redhat.com
Wed May 28 15:30:00 GMT 2008


Hi,

I was seeing strange testsuite failures and finally tracked it down to
having run sudo make instalcheck once which created a cache directory
owned by root. After that make check would sometimes fail if it couldn't
properly access the cache dir. The following patch makes sure that the
cache directory in the testsuite is user specific so they don't
conflict.

make installcheck still depends on clean which does try to remove the
cache dirs (but might silently fail). I don't think this is really
necessary anymore.

But currently the testsuite hangs at the end because of this commit:

commit 7938bd829dfd82c40b35d536b5913e666c1454d2
Author: Frank Ch. Eigler <fche@elastic.org>
Date:   Tue May 27 17:40:00 2008 -0400

    testsuite: use catch{close}catch{wait} to ensure child process
pipe/zombie cleanup

It seems not everybody is seeing this though. And I don't immediately
see what is causing the hang in this patch.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite-cache-user.patch
Type: text/x-patch
Size: 2375 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20080528/a488c68b/attachment.bin>


More information about the Systemtap mailing list