[111189] branches/gsoc13-tests/src/port1.0/tests/portinstall.test

marius at macports.org marius at macports.org
Mon Sep 16 13:37:44 PDT 2013


Revision: 111189
          https://trac.macports.org/changeset/111189
Author:   marius at macports.org
Date:     2013-09-16 13:37:44 -0700 (Mon, 16 Sep 2013)
Log Message:
-----------
port1.0: fixed create_archive test

Modified Paths:
--------------
    branches/gsoc13-tests/src/port1.0/tests/portinstall.test

Modified: branches/gsoc13-tests/src/port1.0/tests/portinstall.test
===================================================================
--- branches/gsoc13-tests/src/port1.0/tests/portinstall.test	2013-09-16 20:33:28 UTC (rev 111188)
+++ branches/gsoc13-tests/src/port1.0/tests/portinstall.test	2013-09-16 20:37:44 UTC (rev 111189)
@@ -117,7 +117,7 @@
 	set portbuildpath $pwd
 	set portdbpath $pwd/dbpath
 	set portpath $pwd
-	set create $pwd/create
+	set create /dev/null
 
 	# destroot setup
     file mkdir $pwd/$subport
@@ -145,8 +145,7 @@
 	}
 
 } -body {
-	puts [portinstall::create_archive $create tgz]
-    if {[catch {portinstall::create_archive $create tgz}] != 0} {
+    if {[catch {$workername eval portinstall::create_archive $create tgz}] != 0} {
 		return "FAIL: cannot create archive"
     }
     return "Create archive successful."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130916/9e767546/attachment-0001.html>


More information about the macports-changes mailing list