[darwinbuild-changes] [830] branches/PR-7872907/testing/darwinup/run-tests.sh
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 9 11:23:56 PDT 2010
Revision: 830
http://trac.macosforge.org/projects/darwinbuild/changeset/830
Author: wsiegrist at 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!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20100609/e77c7403/attachment.html>
More information about the darwinbuild-changes
mailing list