Commit 259bc974 authored by Reinout van Rees's avatar Reinout van Rees

Added base dir itself to relativize-test

The base dir ("develop = .") should be relativized, too, but currently isn't.
This test proves that it doesn't work (it will be fixed by #277)
parent 039ac65d
...@@ -835,7 +835,7 @@ to pass a common base directory of the scripts and eggs: ...@@ -835,7 +835,7 @@ to pass a common base directory of the scripts and eggs:
>>> scripts = zc.buildout.easy_install.scripts( >>> scripts = zc.buildout.easy_install.scripts(
... ['demo'], ws, sys.executable, join(bo, 'bin'), dict(demo='run'), ... ['demo'], ws, sys.executable, join(bo, 'bin'), dict(demo='run'),
... extra_paths=[ba, join(bo, 'bar')], ... extra_paths=[ba, join(bo, 'bar'), bo],
... interpreter='py', ... interpreter='py',
... relative_paths=bo) ... relative_paths=bo)
...@@ -854,6 +854,7 @@ to pass a common base directory of the scripts and eggs: ...@@ -854,6 +854,7 @@ to pass a common base directory of the scripts and eggs:
join(base, 'eggs/demoneeded-1.1-pyN.N.egg'), join(base, 'eggs/demoneeded-1.1-pyN.N.egg'),
'/ba', '/ba',
join(base, 'bar'), join(base, 'bar'),
base,
] ]
<BLANKLINE> <BLANKLINE>
import eggrecipedemo import eggrecipedemo
...@@ -887,6 +888,7 @@ We specified an interpreter and its paths are adjusted too: ...@@ -887,6 +888,7 @@ We specified an interpreter and its paths are adjusted too:
join(base, 'eggs/demoneeded-1.1-pyN.N.egg'), join(base, 'eggs/demoneeded-1.1-pyN.N.egg'),
'/ba', '/ba',
join(base, 'bar'), join(base, 'bar'),
base,
] ]
<BLANKLINE> <BLANKLINE>
_interactive = True _interactive = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment