[111318] branches/gsoc13-tests/src/port1.0/tests/portutil.test
cal at macports.org
cal at macports.org
Wed Sep 18 14:25:24 PDT 2013
Revision: 111318
https://trac.macports.org/changeset/111318
Author: cal at macports.org
Date: 2013-09-18 14:25:24 -0700 (Wed, 18 Sep 2013)
Log Message:
-----------
portutil.test: avoid changing CWD
Modified Paths:
--------------
branches/gsoc13-tests/src/port1.0/tests/portutil.test
Modified: branches/gsoc13-tests/src/port1.0/tests/portutil.test
===================================================================
--- branches/gsoc13-tests/src/port1.0/tests/portutil.test 2013-09-18 21:23:10 UTC (rev 111317)
+++ branches/gsoc13-tests/src/port1.0/tests/portutil.test 2013-09-18 21:25:24 UTC (rev 111318)
@@ -388,6 +388,7 @@
test ln {
ln unit test.
} -setup {
+ set oldpwd [pwd]
set root "/tmp/macports-portutil-ln"
file delete -force $root
file mkdir $root
@@ -448,10 +449,10 @@
return "Files successfully linked."
} -cleanup {
+ cd $oldpwd
file delete -force $root
} -result "Files successfully linked."
-
test makeuserproc {
Make user proc unit test.
} -setup {
@@ -528,6 +529,8 @@
} -cleanup {
mportclose $mport
+ file delete -force $filespath
+ file delete -force work
} -result "Eval_targets successful."
@@ -639,6 +642,9 @@
return "FAIL: unable to run variant name proc"
}
return "Variant run successful."
+} -cleanup {
+ mportclose $mport
+ file delete -force work
} -result "Variant run successful."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130918/f7f97357/attachment.html>
More information about the macports-changes
mailing list