[darwinbuild-changes] [837] branches/PR-7872907/testing/darwinup/run-tests.sh

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 11 09:18:56 PDT 2010


Revision: 837
          http://trac.macosforge.org/projects/darwinbuild/changeset/837
Author:   wsiegrist at apple.com
Date:     2010-06-11 09:18:54 -0700 (Fri, 11 Jun 2010)
Log Message:
-----------
Test coverage for multiple renames. Make sure we uninstall all roots used in rename testing.

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-10 18:13:21 UTC (rev 836)
+++ branches/PR-7872907/testing/darwinup/run-tests.sh	2010-06-11 16:18:54 UTC (rev 837)
@@ -288,10 +288,19 @@
 C=$($DARWINUP files "RENAME2" | wc -l | xargs)
 test "$C" == "17" 
 C=$($DARWINUP verify "RENAME2" | wc -l | xargs)
-test "$C" == "17" 
+test "$C" == "17"
+$DARWINUP rename root6 RENAME3 RENAME3 RENAME4 RENAME4 RENAME5 RENAME5 RENAME6
+C=$($DARWINUP list | grep "root6" | wc -l | xargs)
+test "$C" == "0" 
+C=$($DARWINUP list | grep "RENAME6" | wc -l | xargs)
+test "$C" == "1" 
+C=$($DARWINUP files "RENAME6" | wc -l | xargs)
+test "$C" == "8"
+$DARWINUP uninstall all
+echo "DIFF: diffing original test files to dest (should be no diffs) ..."
+$DIFF $ORIG $DEST 2>&1
 
 
-
 #
 # The following are expected failures
 #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20100611/012f91c5/attachment.html>


More information about the darwinbuild-changes mailing list