Revision: 830 http://trac.macosforge.org/projects/darwinbuild/changeset/830 Author: wsiegrist@apple.com Date: 2010-06-09 11:23:53 -0700 (Wed, 09 Jun 2010) Log Message: ----------- Change to test directory before running tests. Modified Paths: -------------- branches/PR-7872907/testing/darwinup/run-tests.sh Modified: branches/PR-7872907/testing/darwinup/run-tests.sh =================================================================== --- branches/PR-7872907/testing/darwinup/run-tests.sh 2010-06-09 18:17:47 UTC (rev 829) +++ branches/PR-7872907/testing/darwinup/run-tests.sh 2010-06-09 18:23:53 UTC (rev 830) @@ -1,11 +1,11 @@ #!/bin/bash set -e set -x +pushd $(dirname $0) >> /dev/null # # Run tests on darwinup # - PREFIX=/tmp/testing/darwinup ORIG=$PREFIX/orig DEST=$PREFIX/dest @@ -282,5 +282,6 @@ echo "DIFF: diffing original test files to dest (should be no diffs) ..." $DIFF $ORIG $DEST 2>&1 +popd >> /dev/null echo "INFO: Done testing!"