aboutsummaryrefslogtreecommitdiffstats
path: root/coverage/scripts/run-parts.sh
blob: a34bf8dd0e47526cd57e658e769c403f1c4eb0bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

export PORT=$1
export TOKEN=$2
export URL=localhost:$PORT
export WSURL="$URL/api?token=$TOKEN"
export R=$(realpath $(dirname $0)/..)

ls $R/scripts/[0-9][0-9]-*.sh |
sort -n |
while read x
do
	echo
	echo
	echo
	echo
	echo
	echo
	echo ===========================================================================
	echo ===========================================================================
	echo ==
	echo == $(basename $x)
	echo ==
	echo ===========================================================================
	$x
done