Skip to content
Permalink
Browse files

Change to test directory before running tests.

git-svn-id: https://svn.macosforge.org/repository/darwinbuild/branches/PR-7872907@830 10a61168-4876-4dac-953b-31e694342555
  • Loading branch information
wsiegrist@apple.com
wsiegrist@apple.com committed Jun 9, 2010
1 parent 92b5a3e commit 35ffbe5306d25f9b61bf351d3caab791d07cacf8
Showing with 2 additions and 1 deletion.
  1. +2 −1 testing/darwinup/run-tests.sh
@@ -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 @@ if [ $? -ne 1 ]; then exit 1; fi
echo "DIFF: diffing original test files to dest (should be no diffs) ..."
$DIFF $ORIG $DEST 2>&1

popd >> /dev/null
echo "INFO: Done testing!"

0 comments on commit 35ffbe5

Please sign in to comment.
You can’t perform that action at this time.