summaryrefslogtreecommitdiffstats
path: root/test/DirSource.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-06-10 11:29:54 (GMT)
committerSteven Knight <knight@baldmt.com>2005-06-10 11:29:54 (GMT)
commit1b063dbb4859a3869d0e6637efc67086fc9497b2 (patch)
treec80eee8daa5f323d7113a2d5ff60a84ce3696b6f /test/DirSource.py
parentec2984ef7d6c0d510a186862758d346bc7a82fbd (diff)
downloadSCons-1b063dbb4859a3869d0e6637efc67086fc9497b2.zip
SCons-1b063dbb4859a3869d0e6637efc67086fc9497b2.tar.gz
SCons-1b063dbb4859a3869d0e6637efc67086fc9497b2.tar.bz2
Fix DirScanner's handling of file names beginning with '#'.
Diffstat (limited to 'test/DirSource.py')
-rw-r--r--test/DirSource.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/DirSource.py b/test/DirSource.py
index 6d225c6..3b8566c 100644
--- a/test/DirSource.py
+++ b/test/DirSource.py
@@ -75,13 +75,21 @@ env_csig.Command('cmd-csig.out', 'cmd-csig', writeTarget,
""")
test.write([ 'bsig', 'foo.txt' ], 'foo.txt 1\n')
+test.write([ 'bsig', '#hash.txt' ], 'hash.txt 1\n')
test.write([ 'bsig', 'subdir', 'bar.txt'], 'bar.txt 1\n')
+test.write([ 'bsig', 'subdir', '#hash.txt'], 'hash.txt 1\n')
test.write([ 'csig', 'foo.txt' ], 'foo.txt 1\n')
+test.write([ 'csig', '#hash.txt' ], 'hash.txt 1\n')
test.write([ 'csig', 'subdir', 'bar.txt' ], 'bar.txt 1\n')
+test.write([ 'csig', 'subdir', '#hash.txt' ], 'hash.txt 1\n')
test.write([ 'cmd-bsig', 'foo.txt' ], 'foo.txt 1\n')
+test.write([ 'cmd-bsig', '#hash.txt' ], 'hash.txt 1\n')
test.write([ 'cmd-bsig', 'subdir', 'bar.txt' ], 'bar.txt 1\n')
+test.write([ 'cmd-bsig', 'subdir', '#hash.txt' ], 'hash.txt 1\n')
test.write([ 'cmd-csig', 'foo.txt' ], 'foo.txt 1\n')
+test.write([ 'cmd-csig', '#hash.txt' ], '#hash.txt 1\n')
test.write([ 'cmd-csig', 'subdir', 'bar.txt' ], 'bar.txt 1\n')
+test.write([ 'cmd-csig', 'subdir', '#hash.txt' ], 'hash.txt 1\n')
test.write('junk.txt', 'junk.txt\n')
test.run(arguments=".", stderr=None)