diff --git a/contrib/devtools/gen-manpages.sh b/contrib/devtools/gen-manpages.sh index a04a30dc2..85383b9be 100755 --- a/contrib/devtools/gen-manpages.sh +++ b/contrib/devtools/gen-manpages.sh @@ -4,12 +4,12 @@ TOPDIR=${TOPDIR:-$(git rev-parse --show-toplevel)} SRCDIR=${SRCDIR:-$TOPDIR/src} MANDIR=${MANDIR:-$TOPDIR/doc/man} -LITECOIND=${LITECOIND:-$SRCDIR/kevacoind} +KEVACOIND=${KEVACOIND:-$SRCDIR/kevacoind} LITECOINCLI=${LITECOINCLI:-$SRCDIR/kevacoin-cli} LITECOINTX=${LITECOINTX:-$SRCDIR/kevacoin-tx} LITECOINQT=${LITECOINQT:-$SRCDIR/qt/kevacoin-qt} -[ ! -x $LITECOIND ] && echo "$LITECOIND not found or not executable." && exit 1 +[ ! -x $KEVACOIND ] && echo "$KEVACOIND not found or not executable." && exit 1 # The autodetected version git tag can screw up manpage output a little bit LTCVER=($($LITECOINCLI --version | head -n1 | awk -F'[ -]' '{ print $6, $7 }')) @@ -18,9 +18,9 @@ LTCVER=($($LITECOINCLI --version | head -n1 | awk -F'[ -]' '{ print $6, $7 }')) # This gets autodetected fine for bitcoind if --version-string is not set, # but has different outcomes for bitcoin-qt and bitcoin-cli. echo "[COPYRIGHT]" > footer.h2m -$LITECOIND --version | sed -n '1!p' >> footer.h2m +$KEVACOIND --version | sed -n '1!p' >> footer.h2m -for cmd in $LITECOIND $LITECOINCLI $LITECOINTX $LITECOINQT; do +for cmd in $KEVACOIND $LITECOINCLI $LITECOINTX $LITECOINQT; do cmdname="${cmd##*/}" help2man -N --version-string=${LTCVER[0]} --include=footer.h2m -o ${MANDIR}/${cmdname}.1 ${cmd} sed -i "s/\\\-${LTCVER[1]}//g" ${MANDIR}/${cmdname}.1 diff --git a/doc/man/kevacoind.1 b/doc/man/kevacoind.1 index a19ed49f5..e8f9dc0d5 100644 --- a/doc/man/kevacoind.1 +++ b/doc/man/kevacoind.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH LITECOIND "1" "September 2018" "kevacoind v0.16.3.0" "User Commands" +.TH KEVACOIND "1" "September 2018" "kevacoind v0.16.3.0" "User Commands" .SH NAME kevacoind \- manual page for kevacoind v0.16.3.0 .SH DESCRIPTION diff --git a/test/functional/p2p_unrequested_blocks.py b/test/functional/p2p_unrequested_blocks.py index 7931d2162..000dddc33 100755 --- a/test/functional/p2p_unrequested_blocks.py +++ b/test/functional/p2p_unrequested_blocks.py @@ -60,7 +60,7 @@ from test_framework.blocktools import create_block, create_coinbase, create_tran class AcceptBlockTest(BitcoinTestFramework): def add_options(self, parser): parser.add_option("--testbinary", dest="testbinary", - default=os.getenv("LITECOIND", "kevacoind"), + default=os.getenv("KEVACOIND", "kevacoind"), help="kevacoind binary to test") def set_test_params(self): diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 95b02fd37..8d82f66d2 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -389,7 +389,7 @@ class BitcoinTestFramework(): # Create cache directories, run bitcoinds: for i in range(MAX_NODES): datadir = initialize_datadir(self.options.cachedir, i) - args = [os.getenv("LITECOIND", "kevacoind"), "-server", "-keypool=1", "-datadir=" + datadir, "-discover=0"] + args = [os.getenv("KEVACOIND", "kevacoind"), "-server", "-keypool=1", "-datadir=" + datadir, "-discover=0"] if i > 0: args.append("-connect=127.0.0.1:" + str(p2p_port(0))) self.nodes.append(TestNode(i, self.options.cachedir, extra_args=[], rpchost=None, timewait=None, binary=None, stderr=None, mocktime=self.mocktime, coverage_dir=None)) @@ -459,10 +459,10 @@ class ComparisonTestFramework(BitcoinTestFramework): def add_options(self, parser): parser.add_option("--testbinary", dest="testbinary", - default=os.getenv("LITECOIND", "kevacoind"), + default=os.getenv("KEVACOIND", "kevacoind"), help="kevacoind binary to test") parser.add_option("--refbinary", dest="refbinary", - default=os.getenv("LITECOIND", "kevacoind"), + default=os.getenv("KEVACOIND", "kevacoind"), help="kevacoind binary to use for reference nodes (if any)") def setup_network(self): diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 12938bc6c..85d63d90e 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -53,7 +53,7 @@ class TestNode(): # Wait for up to 600 seconds for the RPC server to respond self.rpc_timeout = 600 if binary is None: - self.binary = os.getenv("LITECOIND", "kevacoind") + self.binary = os.getenv("KEVACOIND", "kevacoind") else: self.binary = binary self.stderr = stderr diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index 9103e0ea8..0f6982198 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -297,8 +297,8 @@ def run_tests(test_list, src_dir, build_dir, exeext, tmpdir, jobs=1, enable_cove print("%sWARNING!%s There is a cache directory here: %s. If tests fail unexpectedly, try deleting the cache directory." % (BOLD[1], BOLD[0], cache_dir)) #Set env vars - if "LITECOIND" not in os.environ: - os.environ["LITECOIND"] = build_dir + '/src/kevacoind' + exeext + if "KEVACOIND" not in os.environ: + os.environ["KEVACOIND"] = build_dir + '/src/kevacoind' + exeext os.environ["LITECOINCLI"] = build_dir + '/src/kevacoin-cli' + exeext tests_dir = src_dir + '/test/functional/'