summaryrefslogtreecommitdiffstats
path: root/test/Install.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-02-22 14:18:53 (GMT)
committerSteven Knight <knight@baldmt.com>2003-02-22 14:18:53 (GMT)
commit2a95aa36269ad195a3579382889489cc3b1bac0f (patch)
treec096f5d620f2f28b5a78f4344fa979f74f33e394 /test/Install.py
parent531efcbc25f41d61c805133b1510baf29570d985 (diff)
downloadSCons-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/Install.py')
-rw-r--r--test/Install.py2
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()