This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE3 - rgmanager: Make 'make check' work forresource-agents


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=ddb861cb47be92b89f3b853bf0dcce26bddeaf96
Commit:        ddb861cb47be92b89f3b853bf0dcce26bddeaf96
Parent:        700b886cb67f584d25eb87bbc4edf859edc60198
Author:        Lon Hohberger <lhh@redhat.com>
AuthorDate:    Mon Jan 26 17:39:08 2009 -0500
Committer:     Lon Hohberger <lhh@redhat.com>
CommitterDate: Mon Jan 26 17:39:08 2009 -0500

rgmanager: Make 'make check' work for resource-agents

---
 rgmanager/src/resources/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rgmanager/src/resources/Makefile b/rgmanager/src/resources/Makefile
index 3c8c1f9..c9ed518 100644
--- a/rgmanager/src/resources/Makefile
+++ b/rgmanager/src/resources/Makefile
@@ -73,9 +73,9 @@ clean: generalclean
 
 check: $(RESOURCES) $(TARGET2) $(TARGET3) ra-api-1-modified.dtd
 	@echo Validating resource agent meta-data
-	@for f in $(RESOURCES); do \
+	@for f in $(RESOURCES) $(TARGET2) $(TARGET3); do \
 		echo "   ./$$f "; \
-		./$$f meta-data | xmllint --dtdvalid \
+		bash ./$$f meta-data | xmllint --dtdvalid \
 				  ./ra-api-1-modified.dtd --noout -; \
 		if [ $$? -ne 0 ]; then exit 1; fi \
 	done


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]