outf.close()
os.chmod(t, os.stat(s)[0])
-revbuilder = Builder(action = Action(SCons_revision, varlist=['VERSION']))
+revbuilder = Builder(action = Action(SCons_revision,
+ varlist=['COPYRIGHT', 'VERSION']))
env = Environment(
ENV = ENV,
# depending on whether it's invoked through scons.py or scons.bat.
expect1 = r"""SCons by Steven Knight et al.:
\tengine: v\S+, [^,]*, by \S+ on \S+
-(__COPYRIGHT__|Copyright \(c\) 2001, 2002, 2003 Steven Knight)
+(__COPYRIGHT__|Copyright \(c\) 2001, 2002, 2003, 2004 Steven Knight)
"""
expect2 = r"""SCons by Steven Knight et al.:
\tscript: v\S+, [^,]*, by \S+ on \S+
\tengine: v\S+, [^,]*, by \S+ on \S+
-(__COPYRIGHT__|Copyright \(c\) 2001, 2002, 2003 Steven Knight)
+(__COPYRIGHT__|Copyright \(c\) 2001, 2002, 2003, 2004 Steven Knight)
"""
test.run(arguments = '-v')