source: trunk/base/tests/trace/Portfile @ 18988

Last change on this file since 18988 was 18988, checked in by pguyot (Paul Guyot), 14 years ago

-t now forbids renaming files/dirs and deleting directories outside the sandbox.

  • Property svn:eol-style set to native
File size: 632 bytes
Line 
1# $Id: Portfile,v 1.6 2006/08/02 00:48:29 pguyot Exp $
2
3PortSystem 1.0
4name            trace
5version         1
6categories      test
7maintainers     pguyot@kallisys.net
8description     Test port for -t
9homepage        http://darwinports.opendarwin.org/
10platforms       darwin
11
12long_description ${description}
13
14fetch           {}
15checksum        {}
16extract         {}
17configure       {}
18build           {}
19destroot        {}
20
21test { 
22        catch {system "touch create-trace"}
23        catch {system "rm delete-trace"}
24        system "touch /tmp/hello-trace"
25        system "rm /tmp/hello-trace"
26        catch {system "mkdir mkdir-trace"}
27        catch {system "rmdir rmdir-trace"}
28        catch {system "mv rename-trace rename-new-trace"}
29        system "mkdir -p /usr/bin"
30}
Note: See TracBrowser for help on using the repository browser.