diff options
author | Steven Knight <knight@baldmt.com> | 2003-02-22 14:18:53 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-02-22 14:18:53 (GMT) |
commit | 2a95aa36269ad195a3579382889489cc3b1bac0f (patch) | |
tree | c096f5d620f2f28b5a78f4344fa979f74f33e394 /test | |
parent | 531efcbc25f41d61c805133b1510baf29570d985 (diff) | |
download | SCons-2a95aa36269ad195a3579382889489cc3b1bac0f.zip SCons-2a95aa36269ad195a3579382889489cc3b1bac0f.tar.gz SCons-2a95aa36269ad195a3579382889489cc3b1bac0f.tar.bz2 |
Fix Install test portability by converting an OSError when we prepare a target file by unlinking it into a BuildError.
Diffstat (limited to 'test')
-rw-r--r-- | test/Install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Install.py b/test/Install.py index 629c136..f69c954 100644 --- a/test/Install.py +++ b/test/Install.py @@ -103,7 +103,7 @@ os.chmod(test.workpath('export'), 0555) f = open(f1_out, 'rb') test.run(arguments = f1_out, - stderr="scons: *** [Errno 13] Permission denied: '%s'\n" % os.path.join('export', 'f1.out'), + stderr="scons: *** [%s] Permission denied\n" % os.path.join('export', 'f1.out'), status=2) f.close() |