Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 194997 Details for
Bug 273259
dev-db/mongodb (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make Scons not violate our sandbox
modify-testing.patch (text/plain), 1.25 KB, created by
Johan Bergström
on 2009-06-17 14:18:59 UTC
(
hide
)
Description:
Patch to make Scons not violate our sandbox
Filename:
MIME Type:
Creator:
Johan Bergström
Created:
2009-06-17 14:18:59 UTC
Size:
1.25 KB
patch
obsolete
>diff -u SConstruct.old SConstruct >--- SConstruct.old 2009-06-10 12:47:25.000000000 +0200 >+++ SConstruct 2009-06-10 12:47:42.000000000 +0200 >@@ -811,9 +811,11 @@ > Exit( 1 ) > > def ensureTestDirs(): >- ensureDir( "/tmp/unittest/" ) >- ensureDir( "/data/" ) >- ensureDir( "/data/db/" ) >+ ensureDir( "testdir/" ) >+ ensureDir( "testdir/tmp/" ) >+ ensureDir( "testdir/tmp/unittest/" ) >+ ensureDir( "testdir/data/" ) >+ ensureDir( "testdir/data/db/" ) > > def testSetup( env , target , source ): > ensureTestDirs() >@@ -890,7 +892,7 @@ > mongodForTestsPort = "40000" > import os > ensureTestDirs() >- dirName = "/data/db/sconsTests/" >+ dirName = "testdir/data/db/sconsTests/" > ensureDir( dirName ) > from subprocess import Popen > mongodForTests = Popen( [ mongod[0].abspath, "--port", mongodForTestsPort, "--dbpath", dirName ] ) >diff -u dbtests/dbtests.cpp.old dbtests/dbtests.cpp >--- dbtests/dbtests.cpp.old 2009-06-10 13:10:43.000000000 +0200 >+++ dbtests/dbtests.cpp 2009-06-09 15:37:04.000000000 +0200 >@@ -35,7 +35,7 @@ > namespace mongo { > extern const char* dbpath; > } // namespace mongo >-string dbpathSpec = "/tmp/unittest/"; >+string dbpathSpec = "testdir/tmp/unittest/"; > > Suite::~Suite() { > DBDirectClient c; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273259
:
193936
|
194995
| 194997 |
197823
|
197825
|
197826
|
197874
|
197911
|
197913
|
197914
|
197915
|
198016
|
198736
|
206219
|
220265