diff options
Diffstat (limited to 'test/Glob')
-rw-r--r-- | test/Glob/Repository.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Glob/Repository.py b/test/Glob/Repository.py index 6cef443..bef9bda 100644 --- a/test/Glob/Repository.py +++ b/test/Glob/Repository.py @@ -55,6 +55,12 @@ def cat(env, source, target): f.write(open(src, "rb").read()) f.close() +# Verify that we can glob a repository-only Node that exists +# only in memory, not on disk. +File('../repository/mmm.in') +m = Glob('m*.in') +assert str(m[0]) == 'mmm.in' + env = Environment(BUILDERS={'Build':Builder(action=cat)}) env.Build('aaa.out', Glob('a*.in')) env.Build('bbb.out', Glob('b*.in')) |