summaryrefslogtreecommitdiff
path: root/app/run-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'app/run-test.sh')
-rwxr-xr-xapp/run-test.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/run-test.sh b/app/run-test.sh
index bfb069d..89d0f18 100755
--- a/app/run-test.sh
+++ b/app/run-test.sh
@@ -4,15 +4,14 @@
#
# SPDX-License-Identifier: MIT
#
-
if [ -z "$1" ]; then
echo "Usage: ./run-test.sh <path to testcase>"
exit 1
fi
path="$1"
-if [ path = "all" ]; then
- path = "tests"
+if [ $path = "all" ]; then
+ path="tests"
fi
testcases=$(find $path -name native_posix.keymap -exec dirname \{\} \;)