[darwinbuild-changes] [728] branches/PR-7489777/testing/darwinup
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 2 08:35:15 PST 2010
Revision: 728
http://trac.macosforge.org/projects/darwinbuild/changeset/728
Author: wsiegrist at apple.com
Date: 2010-03-02 08:35:11 -0800 (Tue, 02 Mar 2010)
Log Message:
-----------
Add large roots to test suite
Modified Paths:
--------------
branches/PR-7489777/testing/darwinup/run-tests.sh
Added Paths:
-----------
branches/PR-7489777/testing/darwinup/300dirs.tbz2
branches/PR-7489777/testing/darwinup/300files.tbz2
Added: branches/PR-7489777/testing/darwinup/300dirs.tbz2
===================================================================
(Binary files differ)
Property changes on: branches/PR-7489777/testing/darwinup/300dirs.tbz2
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: branches/PR-7489777/testing/darwinup/300files.tbz2
===================================================================
(Binary files differ)
Property changes on: branches/PR-7489777/testing/darwinup/300files.tbz2
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: branches/PR-7489777/testing/darwinup/run-tests.sh
===================================================================
--- branches/PR-7489777/testing/darwinup/run-tests.sh 2010-03-02 01:24:51 UTC (rev 727)
+++ branches/PR-7489777/testing/darwinup/run-tests.sh 2010-03-02 16:35:11 UTC (rev 728)
@@ -32,6 +32,11 @@
tar zxvf $R.tar.gz -C $PREFIX
done;
+for R in 300dirs 300files;
+do
+ cp $R.tbz2 $PREFIX/
+done;
+
mkdir -p $ORIG
cp -R $DEST/* $ORIG/
@@ -107,6 +112,25 @@
echo "DIFF: diffing original test files to dest (should be no diffs) ..."
$DIFF $ORIG $DEST 2>&1
+echo "TEST: trying large roots ...";
+echo "INFO: installing 300files";
+darwinup -vv -p $DEST install $PREFIX/300files.tbz2
+darwinup -vv -p $DEST uninstall 300files.tbz2
+echo "DIFF: diffing original test files to dest (should be no diffs) ..."
+$DIFF $ORIG $DEST 2>&1
+echo "INFO: installing 300dir";
+darwinup -vv -p $DEST install $PREFIX/300dirs.tbz2
+darwinup -vv -p $DEST uninstall 300dirs.tbz2
+echo "DIFF: diffing original test files to dest (should be no diffs) ..."
+$DIFF $ORIG $DEST 2>&1
+echo "INFO: installing both 300files and 300dirs";
+darwinup -vv -p $DEST install $PREFIX/300dirs.tbz2
+darwinup -vv -p $DEST install $PREFIX/300files.tbz2
+darwinup -vv -p $DEST uninstall 300dirs.tbz2
+darwinup -vv -p $DEST uninstall 300files.tbz2
+echo "DIFF: diffing original test files to dest (should be no diffs) ..."
+$DIFF $ORIG $DEST 2>&1
+
echo "TEST: Try uninstalling with user data in rollback"
echo "INFO: Installing root5 ...";
darwinup -vv -p $DEST install $PREFIX/root5
@@ -117,7 +141,9 @@
darwinup -vv -p $DEST uninstall root5
darwinup -vv -p $DEST uninstall root7
-
+#
+# The following are expected failures
+#
set +e
echo "TEST: Trying a root that will fail due to object change ..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20100302/22efda3c/attachment.html>
More information about the darwinbuild-changes
mailing list