1#!/usr/bin/python 2 3# Copyright 2003 Vladimir Prus 4# Distributed under the Boost Software License, Version 1.0. 5# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) 6 7# Regression test: when directory of project root contained regex 8# metacharacters, B2 failed to work. Bug reported by Michael Stevens. 9 10import BoostBuild 11 12t = BoostBuild.Tester() 13 14t.write("bad[abc]dirname/jamfile.jam", """ 15""") 16 17t.write("bad[abc]dirname/jamroot.jam", """ 18""") 19 20t.run_build_system(subdir="bad[abc]dirname") 21 22t.cleanup() 23