[146712] trunk/base/src/macports1.0/tests/reclaim.test

raimue at macports.org raimue at macports.org
Tue Mar 15 10:11:22 PDT 2016


Revision: 146712
          https://trac.macports.org/changeset/146712
Author:   raimue at macports.org
Date:     2016-03-15 10:11:22 -0700 (Tue, 15 Mar 2016)
Log Message:
-----------
Use a temporary prefix for reclaim testing

Modified Paths:
--------------
    trunk/base/src/macports1.0/tests/reclaim.test

Modified: trunk/base/src/macports1.0/tests/reclaim.test
===================================================================
--- trunk/base/src/macports1.0/tests/reclaim.test	2016-03-15 17:07:38 UTC (rev 146711)
+++ trunk/base/src/macports1.0/tests/reclaim.test	2016-03-15 17:11:22 UTC (rev 146712)
@@ -9,6 +9,13 @@
 source ../macports_test_autoconf.tcl
 package require macports 1.0
 
+source ./library.tcl
+
+# clean leftovers from interrupted tests
+file delete -force $pwd/tmpdir
+# use a local, temporary prefix for testing
+init_tmp_prefix $pwd $pwd/tmpdir
+
 array set ui_options {}
 mportinit ui_options
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160315/94b5ae52/attachment.html>


More information about the macports-changes mailing list