BUGFIX: tf online <path> shouldn't croak if <path> is an add awaiting
[tfs.git] / docs / examples / run-tests.sh
bloba93e54d6923d3309fa0f1d5dd9db8e135489853c
1 #!/bin/bash
2 SERVER=$1
3 LOGIN=$2
4 WORKSPACE=$3
6 function usage {
7 echo "usage: run-tests.sh <server> <login> <workspace>"
8 exit
11 function run_tests {
12 for i in ./t*-cmd.sh; do
13 echo $i $SERVER $LOGIN $WORKSPACE
14 echo
15 $i $SERVER $LOGIN $WORKSPACE
16 echo
17 done
20 if [ "x$SERVER" = "x" ] || [ "x$LOGIN" = "x" ] || [ "x$WORKSPACE" = "x" ]; then usage; fi
22 run_tests