diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-07 17:15:28 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-07 17:15:28 +0200 |
commit | 4114fd1586bce1757b06efbc5a941df71a0a049b (patch) | |
tree | ffd5fd3953f70a04c7ffa2811e3c2f613091c72e /api/tests | |
parent | 72d7fdf56ebf5f02614f1172115a687ccc7f39fa (diff) | |
download | arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.tar.gz arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.tar.bz2 arching-kaos-tools-4114fd1586bce1757b06efbc5a941df71a0a049b.zip |
Portable shebangs
Diffstat (limited to 'api/tests')
-rwxr-xr-x | api/tests/announce_zblock.sh | 2 | ||||
-rwxr-xr-x | api/tests/announce_zchain_link.sh | 2 | ||||
-rwxr-xr-x | api/tests/default_route.sh | 2 | ||||
-rwxr-xr-x | api/tests/gathered_zblocks.sh | 2 | ||||
-rwxr-xr-x | api/tests/gathered_zchain_zlatest_pairs.sh | 2 | ||||
-rwxr-xr-x | api/tests/latest_known_mined_block.sh | 2 | ||||
-rwxr-xr-x | api/tests/node_local_chain.sh | 2 | ||||
-rwxr-xr-x | api/tests/node_local_zlatest.sh | 2 | ||||
-rwxr-xr-x | api/tests/show_mined_block.sh | 2 | ||||
-rwxr-xr-x | api/tests/test_all_routes.sh | 2 |
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 |