mirror of
https://github.com/ceph/ceph
synced 2024-12-22 11:31:55 +00:00
22 lines
258 B
Bash
Executable File
22 lines
258 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
job=$1
|
|
test -e $1
|
|
|
|
teuthology-nuke -t $job
|
|
|
|
title() {
|
|
echo '\[\033]0;hammer '$job' '$N' passes\007\]'
|
|
}
|
|
|
|
N=0
|
|
title
|
|
while teuthology $job $2 $3 $4
|
|
do
|
|
date
|
|
N=$(($N+1))
|
|
echo "$job: $N passes"
|
|
title
|
|
done
|
|
echo "$job: $N passes, then failure."
|