[darwinbuild-changes] [636] branches/PR-7250612/testing/darwinup
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 11 15:43:07 PST 2009
Revision: 636
http://trac.macosforge.org/projects/darwinbuild/changeset/636
Author: wsiegrist at apple.com
Date: 2009-11-11 15:43:07 -0800 (Wed, 11 Nov 2009)
Log Message:
-----------
Add test case for gracefully rolling back a bad install
Modified Paths:
--------------
branches/PR-7250612/testing/darwinup/run-tests.sh
Added Paths:
-----------
branches/PR-7250612/testing/darwinup/root4.tar.gz
Added: branches/PR-7250612/testing/darwinup/root4.tar.gz
===================================================================
(Binary files differ)
Property changes on: branches/PR-7250612/testing/darwinup/root4.tar.gz
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: branches/PR-7250612/testing/darwinup/run-tests.sh
===================================================================
--- branches/PR-7250612/testing/darwinup/run-tests.sh 2009-11-11 18:25:38 UTC (rev 635)
+++ branches/PR-7250612/testing/darwinup/run-tests.sh 2009-11-11 23:43:07 UTC (rev 636)
@@ -22,6 +22,7 @@
do
tar zxvf $R.tar.gz -C $PREFIX
done;
+tar zxvf root4.tar.gz -C $PREFIX
mkdir -p $ORIG
cp -R $DEST/* $ORIG/
@@ -108,6 +109,11 @@
echo "DIFF: diffing original test files to dest (should be no diffs) ..."
diff -qru $ORIG $DEST 2>&1 | grep -v \\.DarwinDepot
+echo "TEST: Trying a root that will fail due to object change ..."
+darwinup -vv -p $DEST install $PREFIX/root4
+if [ $? -ne 1 ]; then exit 1; fi
+echo "DIFF: diffing original test files to dest (should be no diffs) ..."
+diff -qru $ORIG $DEST 2>&1 | grep -v \\.DarwinDepot
echo "INFO: Done testing!"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20091111/a240bb7b/attachment.html>
More information about the darwinbuild-changes
mailing list