summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 0fc9678..333779e 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -42,13 +42,13 @@ for test in $tests; do
echo "Test: $test.sh"
echo "============"
bash $test.sh
- result=$?
- n+=1
+ result=$?
+ n+=1
if (($result == 0)); then test_result[$n]="Passed"
else
- test_result[$n]="Failed"
- overall_result=1
- fi
+ test_result[$n]="Failed"
+ overall_result=1
+ fi
bash $test-clean.sh
done
@@ -61,7 +61,7 @@ echo "======================"
echo "Test Duration = $runtime minutes"
n=0
for test in $tests; do
- n+=1
+ n+=1
echo "${test_result[$n]} : $test"
done
if (($overall_result == 0)); then echo "Test run overall: PASSED";