aboutsummaryrefslogtreecommitdiff
path: root/api/tests
diff options
context:
space:
mode:
Diffstat (limited to 'api/tests')
-rwxr-xr-xapi/tests/announce_zblock.sh2
-rwxr-xr-xapi/tests/announce_zchain_link.sh2
-rwxr-xr-xapi/tests/default_route.sh2
-rwxr-xr-xapi/tests/gathered_zblocks.sh2
-rwxr-xr-xapi/tests/gathered_zchain_zlatest_pairs.sh2
-rwxr-xr-xapi/tests/latest_known_mined_block.sh2
-rwxr-xr-xapi/tests/node_local_chain.sh2
-rwxr-xr-xapi/tests/node_local_zlatest.sh2
-rwxr-xr-xapi/tests/show_mined_block.sh2
-rwxr-xr-xapi/tests/test_all_routes.sh2
10 files changed, 10 insertions, 10 deletions
diff --git a/api/tests/announce_zblock.sh b/api/tests/announce_zblock.sh
index 15a48ef..43db7d3 100755
--- a/api/tests/announce_zblock.sh
+++ b/api/tests/announce_zblock.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
printf "TEST\t/v0/announce/zblock\n"
diff --git a/api/tests/announce_zchain_link.sh b/api/tests/announce_zchain_link.sh
index 1608a08..d938286 100755
--- a/api/tests/announce_zchain_link.sh
+++ b/api/tests/announce_zchain_link.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
printf "TEST\t/v0/announce/zchain\n"
diff --git a/api/tests/default_route.sh b/api/tests/default_route.sh
index c50d11d..3b1ba6c 100755
--- a/api/tests/default_route.sh
+++ b/api/tests/default_route.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
curl -s http://127.0.0.1:8610 2>/dev/null | jq > /dev/null
diff --git a/api/tests/gathered_zblocks.sh b/api/tests/gathered_zblocks.sh
index bde7313..273f968 100755
--- a/api/tests/gathered_zblocks.sh
+++ b/api/tests/gathered_zblocks.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
PROGRAM="$(basename $0)"
diff --git a/api/tests/gathered_zchain_zlatest_pairs.sh b/api/tests/gathered_zchain_zlatest_pairs.sh
index 60da911..e30f24c 100755
--- a/api/tests/gathered_zchain_zlatest_pairs.sh
+++ b/api/tests/gathered_zchain_zlatest_pairs.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
printf "TEST\t/seens\n"
diff --git a/api/tests/latest_known_mined_block.sh b/api/tests/latest_known_mined_block.sh
index 168767e..1ef55a1 100755
--- a/api/tests/latest_known_mined_block.sh
+++ b/api/tests/latest_known_mined_block.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
diff --git a/api/tests/node_local_chain.sh b/api/tests/node_local_chain.sh
index fb5672f..626456e 100755
--- a/api/tests/node_local_chain.sh
+++ b/api/tests/node_local_chain.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
printf "TEST /zchain\n"
diff --git a/api/tests/node_local_zlatest.sh b/api/tests/node_local_zlatest.sh
index 132107f..fe8e01b 100755
--- a/api/tests/node_local_zlatest.sh
+++ b/api/tests/node_local_zlatest.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
API_RES="$(curl -s http://127.0.0.1:8610/v0/zlatest 2>/dev/null | sha512sum - | awk '{ printf $1 }')"
diff --git a/api/tests/show_mined_block.sh b/api/tests/show_mined_block.sh
index 6477a32..a621af1 100755
--- a/api/tests/show_mined_block.sh
+++ b/api/tests/show_mined_block.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s]\n' "$PROGRAM"
printf "#TODO /sblock endpoint\n"
diff --git a/api/tests/test_all_routes.sh b/api/tests/test_all_routes.sh
index 9a56faa..b9fd125 100755
--- a/api/tests/test_all_routes.sh
+++ b/api/tests/test_all_routes.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
PROGRAM="$(basename $0)"
printf '[%s] Starting tests...\n' "$PROGRAM"
bash node_local_chain.sh