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

source_changes at macosforge.org source_changes at macosforge.org
Tue May 8 16:03:23 PDT 2007


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

Log Message:
-----------
Extend the trace test case to check we can build symlinks inside the sandbox that points outside.

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-08 19:33:37 UTC (rev 24945)
+++ trunk/base/tests/test/trace/Makefile	2007-05-08 23:03:22 UTC (rev 24946)
@@ -15,7 +15,9 @@
 	@rm -f create-trace-modenv
 	@rm -rf mkdir-trace
 	@rm -f /tmp/hello-trace
+	@rm -f link-trace
 	@PORTSRC=$(PORTSRC) $(bindir)/port -t test > output 2>&1 || (cat output; exit 1)
+	@rm -f link-trace
 	@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-08 19:33:37 UTC (rev 24945)
+++ trunk/base/tests/test/trace/Portfile	2007-05-08 23:03:22 UTC (rev 24946)
@@ -25,6 +25,7 @@
 	catch {system "rm delete-trace"}
 	system "touch /tmp/hello-trace"
 	system "rm /tmp/hello-trace"
+	system "ln -s /usr/include/ link-trace"
 	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/684c02eb/attachment.html


More information about the macports-changes mailing list