aboutsummaryrefslogtreecommitdiff
path: root/tests/do-unit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/do-unit.sh')
-rwxr-xr-xtests/do-unit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/do-unit.sh b/tests/do-unit.sh
index 937be26ff..611edf360 100755
--- a/tests/do-unit.sh
+++ b/tests/do-unit.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/usr/bin/env bash
-cd "$(dirname "${0}")"
+cd "$(dirname "${0}")" || exit 1
UNIT="./unit/unit"