mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
Tweak smoke.py to avoid double-slashes (workaround for old boosts?).
This commit is contained in:
parent
5454fd7f46
commit
5e68517674
@ -250,7 +250,7 @@ def expandSuites(suites):
|
||||
raise Exception('unknown test suite %s' % suite)
|
||||
|
||||
if globstr:
|
||||
globstr = mongoRepo+('/jstests/' if globstr.endswith('.js') else '/')+globstr
|
||||
globstr = mongoRepo+('jstests/' if globstr.endswith('.js') else '/')+globstr
|
||||
tests += [(path, usedb) for path in glob.glob(globstr)]
|
||||
return tests
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user