[111322] branches/gsoc13-tests/src/registry2.0/tests/entry.tcl
cal at macports.org
cal at macports.org
Wed Sep 18 14:51:57 PDT 2013
Revision: 111322
https://trac.macports.org/changeset/111322
Author: cal at macports.org
Date: 2013-09-18 14:51:57 -0700 (Wed, 18 Sep 2013)
Log Message:
-----------
registry2.0/tests/entry.tcl: don't attempt to create a file in a location writable by root
Modified Paths:
--------------
branches/gsoc13-tests/src/registry2.0/tests/entry.tcl
Modified: branches/gsoc13-tests/src/registry2.0/tests/entry.tcl
===================================================================
--- branches/gsoc13-tests/src/registry2.0/tests/entry.tcl 2013-09-18 21:47:33 UTC (rev 111321)
+++ branches/gsoc13-tests/src/registry2.0/tests/entry.tcl 2013-09-18 21:51:57 UTC (rev 111322)
@@ -7,11 +7,12 @@
load $pextlibname
# totally lame that file delete won't do it
- eval exec rm -f [glob -nocomplain test.db*]
+ eval exec rm -f [glob -nocomplain test.db*]
# can't create registry in some brain-dead place or in protected place
test_throws {registry::open /some/brain/dead/place} registry::cannot-init
- test_throws {registry::open /etc/macports_test_prot~} registry::cannot-init
+ # This would actually work when testing with sudo :(
+ #test_throws {registry::open /etc/macports_test_prot~} registry::cannot-init
# can't use registry before it's opened
test_throws {registry::write {}} registry::misuse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130918/c39d15e5/attachment-0001.html>
More information about the macports-changes
mailing list