]> git.codecow.com Git - nano-pow.git/commitdiff
Add new score CLI option to test script.
authorChris Duncan <chris@zoso.dev>
Tue, 17 Jun 2025 19:16:37 +0000 (12:16 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 17 Jun 2025 19:16:37 +0000 (12:16 -0700)
test/script.sh

index dd70adf23fbb4b6bab411e5ae7b00201c7d9c1d5..04121a91852515f4b19932fa83828b022e4b5caf 100755 (executable)
@@ -12,10 +12,10 @@ export NANO_POW_EFFORT=4
 export NANO_POW_PORT=5041
 
 printf '\nTest CLI benchmark\n'
-"$SCRIPT_DIR"/../dist/bin/nano-pow.sh --benchmark 10 --effort 4 --debug
+"$SCRIPT_DIR"/../dist/bin/nano-pow.sh --debug --effort 4 --benchmark 10 --score 10
 
 printf '\nTest CLI piped input\n'
-cat "$SCRIPT_DIR"/blockhashes.txt | "$SCRIPT_DIR"/../dist/bin/nano-pow.sh --effort 4 --debug
+cat "$SCRIPT_DIR"/blockhashes.txt | "$SCRIPT_DIR"/../dist/bin/nano-pow.sh --debug --effort 4
 
 printf '\nLaunching test server\n'
 "$SCRIPT_DIR"/../dist/bin/nano-pow.sh --server