[24948] trunk/base/tests/test/trace

source_changes at macosforge.org source_changes at macosforge.org
Tue May 8 19:22:50 PDT 2007


Revision: 24948
          http://trac.macosforge.org/projects/macports/changeset/24948
Author:   pguyot at kallisys.net
Date:     2007-05-08 19:22:50 -0700 (Tue, 08 May 2007)

Log Message:
-----------
Add a new test to exhibit a (currently unfixed) bug that occurs when one installs python24 with trace mode on top of a pre-existing installation of python24.

Modified Paths:
--------------
    trunk/base/tests/test/trace/Makefile
    trunk/base/tests/test/trace/Portfile

Modified: trunk/base/tests/test/trace/Makefile
===================================================================
--- trunk/base/tests/test/trace/Makefile	2007-05-09 00:42:41 UTC (rev 24947)
+++ trunk/base/tests/test/trace/Makefile	2007-05-09 02:22:50 UTC (rev 24948)
@@ -16,8 +16,10 @@
 	@rm -rf mkdir-trace
 	@rm -f /tmp/hello-trace
 	@rm -f link-trace
+	@ln -s /usr/include/unistd.h /tmp/link-trace2
 	@PORTSRC=$(PORTSRC) $(bindir)/port -t test > output 2>&1 || (cat output; exit 1)
 	@rm -f link-trace
+	@rm -f /tmp/link-trace2
 	@rm -f delete-trace
 	@rm -f rename-trace
 	@rm -f rename-new-trace

Modified: trunk/base/tests/test/trace/Portfile
===================================================================
--- trunk/base/tests/test/trace/Portfile	2007-05-09 00:42:41 UTC (rev 24947)
+++ trunk/base/tests/test/trace/Portfile	2007-05-09 02:22:50 UTC (rev 24948)
@@ -26,6 +26,7 @@
 	system "touch /tmp/hello-trace"
 	system "rm /tmp/hello-trace"
 	system "ln -s /usr/include/ link-trace"
+	system "rm /tmp/link-trace2"
 	catch {system "mkdir mkdir-trace"}
 	catch {system "rmdir rmdir-trace"}
 	catch {system "mv rename-trace rename-new-trace"}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070508/99576db1/attachment.html


More information about the macports-changes mailing list