Skip to content

Commit

Permalink
Fix: DATADIR was being fix value in ocf-tester.in file.
Browse files Browse the repository at this point in the history
  • Loading branch information
soushi authored and Chris Bowlby committed Mar 1, 2012
1 parent ea57172 commit 0e84991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/ocf-tester.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

LRMD=@libdir@/heartbeat/lrmd
LRMADMIN=@sbindir@/lrmadmin
DATADIR=@datadir@
METADATA_LINT="xmllint --noout --valid -"

# set some common meta attributes, which are expected to be
Expand Down Expand Up @@ -211,7 +212,7 @@ test_metadata() {
if [ $verbose -ne 0 ]; then
echo $msg
fi
bash $agent $action | (cd /usr/share/resource-agents && $METADATA_LINT)
bash $agent $action | (cd $DATADIR/resource-agents && $METADATA_LINT)
rc=$?
#echo rc: $rc
return $rc
Expand Down

0 comments on commit 0e84991

Please sign in to comment.