[SERVER-1128] cannot run smoke test as normal user Created: 17/May/10  Updated: 12/Jul/16  Resolved: 17/May/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.2

Type: Bug Priority: Major - P3
Reporter: Roman Shtylman Assignee: Richard Kreuter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ubuntu lucid amd64


Participants:

 Description   

When trying to make a debian package (and subsequently run the smoke test) the test fails to make the "/data" directory. In the past, installDir + "/data" was created, but this has recently change to just "/data". This means that a normal user cannot run the smoke test nor can they build a package.



 Comments   
Comment by Richard Kreuter (Inactive) [ 17/May/10 ]

Fixed in 1928de9.

Comment by Richard Kreuter (Inactive) [ 17/May/10 ]

The requested feature seems never to have been in the upstream SConstruct file, but was a diff in Debian. Unfortnuately, the Debian diff unconditionally prepended to the various paths used in the tests, so was incompatible with out current defaults. So I've added an option to the SConstruct file, --smokedbprefix, to specify where to put the tests' subdirectories, so you can say 'scons --prefix=x --smokedbprefix=x ...' to get the requested functionality.

Comment by auto [ 17/May/10 ]

Author:

{'login': 'kreuter', 'name': 'Richard Kreuter', 'email': 'richard@10gen.com'}

Message: Add a --smokedbprefix option for SERVER-1128
http://github.com/mongodb/mongo/commit/1928de9fa0482c52f8fcc2f8cb3ff2281a6895a1

Generated at Thu Feb 08 02:56:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.