diff options
author | Bikal Lem <gbikal+git@gmail.com> | 2021-11-12 18:37:12 +0000 |
---|---|---|
committer | Bikal Lem <gbikal+git@gmail.com> | 2021-11-12 18:47:23 +0000 |
commit | 82b22c8fe33a7250381a956b127955940422c90f (patch) | |
tree | 609267d7ad560570dfc0cd33a1d24ed9b1ad641e | |
parent | 28e631994a6770072b833e27ec0f2f75b29de305 (diff) | |
download | liburing-82b22c8fe33a7250381a956b127955940422c90f.tar.gz liburing-82b22c8fe33a7250381a956b127955940422c90f.tar.bz2 |
runtests: use env to find bash
This commit fixes running 'make runtests' in OSes where '/bin/bash' is
not defined. We use a more portable version, i.e. '/usr/bin/env bash'
instead.
Signed-off-by: Bikal Lem <gbikal+git@gmail.com>
-rwxr-xr-x | test/runtests-loop.sh | 2 | ||||
-rwxr-xr-x | test/runtests.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/runtests-loop.sh b/test/runtests-loop.sh index f56d26d..b80bc76 100755 --- a/test/runtests-loop.sh +++ b/test/runtests-loop.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash TESTS=("$@") ITER=0 diff --git a/test/runtests.sh b/test/runtests.sh index c77df6a..122e482 100755 --- a/test/runtests.sh +++ b/test/runtests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash TESTS=("$@") RET=0 |