Open jacobvincent opened 7 years ago
Hi,
The run file has commands shown below, which i assume is specifically linux commands. How can i test this on a windows OS?
CWD=${PWD##*/} if [ "$CWD" == "test" ]; then TESTDIR=$PWD else TESTDIR=$PWD/test fi
CHAINDIR="$TESTDIR/temp" CHAINNAME=test CHAINPORT=6601
mkdir $CHAINDIR
multichain-util create $CHAINNAME --datadir=$CHAINDIR multichaind $CHAINNAME --datadir=$CHAINDIR --rpcuser=$CHAINNAME --rpcpassword=$CHAINNAME --rpcport=$CHAINPORT --sendfreetransactions & PID=$!; sleep 5
node "$TESTDIR/test.js"
kill -9 $PID rm -r $CHAINDIR
Thanks, Jacob
Hi,
The run file has commands shown below, which i assume is specifically linux commands. How can i test this on a windows OS?
CWD=${PWD##*/} if [ "$CWD" == "test" ]; then TESTDIR=$PWD else TESTDIR=$PWD/test fi
CHAINDIR="$TESTDIR/temp" CHAINNAME=test CHAINPORT=6601
mkdir $CHAINDIR
multichain-util create $CHAINNAME --datadir=$CHAINDIR multichaind $CHAINNAME --datadir=$CHAINDIR --rpcuser=$CHAINNAME --rpcpassword=$CHAINNAME --rpcport=$CHAINPORT --sendfreetransactions & PID=$!; sleep 5
node "$TESTDIR/test.js"
kill -9 $PID rm -r $CHAINDIR
Thanks, Jacob