diff options
author | Mats Wichmann <mats@linux.com> | 2021-04-18 15:24:03 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2021-04-18 17:18:25 (GMT) |
commit | 85f75affc4b92bdf0db3dd1c35cd875320ba5f26 (patch) | |
tree | 56346748d90dec1d6389d18073922cd30a3eaa21 /test/Install/tool.py | |
parent | 59c4c2ca4fce8392852e5e907bbb9e89b1daae15 (diff) | |
download | SCons-85f75affc4b92bdf0db3dd1c35cd875320ba5f26.zip SCons-85f75affc4b92bdf0db3dd1c35cd875320ba5f26.tar.gz SCons-85f75affc4b92bdf0db3dd1c35cd875320ba5f26.tar.bz2 |
[PR 3931] add a testcase
Undo the doc change which describes what happens -
seems better not to promise about permissions of
installed files.
Did the header change on Install tests.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Install/tool.py')
-rw-r--r-- | test/Install/tool.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/Install/tool.py b/test/Install/tool.py index ba92d0a..0730e37 100644 --- a/test/Install/tool.py +++ b/test/Install/tool.py @@ -1,6 +1,8 @@ #!/usr/bin/env python # -# __COPYRIGHT__ +# MIT Licenxe +# +# Copyright The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -20,9 +22,6 @@ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# - -__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" """ Verify that we can still call Install() and InstallAs() even when @@ -37,14 +36,14 @@ test.subdir('iii') test.write('SConstruct', """ DefaultEnvironment(tools=[]) -env = Environment(tools = []) +env = Environment(tools=[]) env.Install('iii', 'foo.in') env.InstallAs('foo.out', 'foo.in') """) test.write('foo.in', "foo.in\n") -test.run(arguments = '.') +test.run(arguments='.') test.must_match(['iii', 'foo.in'], "foo.in\n") test.must_match('foo.out', "foo.in\n") |