File: stress.sh

package info (click to toggle)
python-sasync 0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 288 kB
  • ctags: 515
  • sloc: python: 2,559; makefile: 27; sh: 9
file content (14 lines) | stat: -rwxr-xr-x 196 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#!/bin/sh
# stress.sh <module> <N>

RUNS=$2
K=0

clear
while [ $K -lt $RUNS ]
  do
  K=$(($K+1))
  echo "RUN $K OF $RUNS..."
  date '+%s' |xargs -i trial --reporter=text --random {} test.$1
done