summaryrefslogtreecommitdiffstats
path: root/config_test/run_tests
diff options
context:
space:
mode:
Diffstat (limited to 'config_test/run_tests')
-rwxr-xr-xconfig_test/run_tests16
1 files changed, 16 insertions, 0 deletions
diff --git a/config_test/run_tests b/config_test/run_tests
new file mode 100755
index 0000000..e41db23
--- /dev/null
+++ b/config_test/run_tests
@@ -0,0 +1,16 @@
1#!/bin/ksh
2
3i=0
4success=0
5fail=0
6while [[ $i -lt $1 ]] ; do
7 ./child_test
8 if [[ $? -eq 0 ]] ; then
9 success=$(($success+1))
10 else
11 fail=$((fail+1))
12 fi
13 i=$(($i+1))
14done
15print "Success=$success Fail=$fail"
16[[ $fail -gt 0 ]] && exit 1