pcp
[Top] [All Lists]

[pcp] qa/446 absolute path

To: pcp@xxxxxxxxxxx
Subject: [pcp] qa/446 absolute path
From: Tomas Dohnalek <tdohnale@xxxxxxxxxx>
Date: Wed, 03 Oct 2012 22:44:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1
In $PCP_DIR/usr/share/pcp/demos/trace/Makefile.stub there is occurrence of using path /etc/pcp.conf without prefix $PCP_ETC_DIR and due to this test-case 446 fails when using non-standard path.

Please check, if I edit correct Makefile, I was a little bit confused.

diff --git a/src/pmdas/trace/GNUmakefile.stub b/src/pmdas/trace/GNUmakefile.stub
index 949f092..8ac95ae 100644
--- a/src/pmdas/trace/GNUmakefile.stub
+++ b/src/pmdas/trace/GNUmakefile.stub
@@ -15,7 +15,7 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 #

-include /etc/pcp.conf
+include $(PCP_ETC_DIR)/pcp.conf

 # need to deal with these ...
 # ELF style

--
Tomas Dohnalek
QE Tools Intern
Red Hat

<Prev in Thread] Current Thread [Next in Thread>