Don't care where test.sh is run from
We were trying to run ./test/test.sh and it didn't work because test.sh assumed we were in ./test/. This change moves into ./test/ for us.
This commit is contained in:
@@ -4,9 +4,12 @@ function msg() {
|
||||
echo $(date +%T) "$@"
|
||||
}
|
||||
|
||||
# Move to a predictable place.
|
||||
cd $(dirname $0)
|
||||
|
||||
failures=0
|
||||
total=0
|
||||
mydir=$(cd $(dirname $0); pwd)
|
||||
mydir=$(pwd)
|
||||
files=$(echo *.txt)
|
||||
for dir in ../[0-9][0-9]-* ; do
|
||||
cd $dir
|
||||
|
||||
Reference in New Issue
Block a user