summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-10-29 07:52:29 (GMT)
committerOmar Polo <op@omarpolo.com>2021-10-29 07:52:29 (GMT)
commit71f1ae69b1e55dd3f61fe477063749da95cf8b08 (patch)
tree14bcbd94ce0513e37c743c335b0997144e354016 /test
parent1c2fa05120ba1df591235c05ad52fb80b0870b22 (diff)
downloadSCons-71f1ae69b1e55dd3f61fe477063749da95cf8b08.zip
SCons-71f1ae69b1e55dd3f61fe477063749da95cf8b08.tar.gz
SCons-71f1ae69b1e55dd3f61fe477063749da95cf8b08.tar.bz2
fix test regexp
On OpenBSD the output is sh: <filename>: cannot execute - Permission denied
Diffstat (limited to 'test')
-rw-r--r--test/Errors/non-executable-file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Errors/non-executable-file.py b/test/Errors/non-executable-file.py
index 98d4721..0363ab7 100644
--- a/test/Errors/non-executable-file.py
+++ b/test/Errors/non-executable-file.py
@@ -53,7 +53,7 @@ scons: \\*\\*\\* \\[%s\\] Error 1
"""
cannot_execute = """\
-(sh: )*.+: cannot execute( \\[Permission denied\\])?
+(sh: )*.+: cannot execute(( -)? \\[?Permission denied\\]?)?
scons: \\*\\*\\* \\[%s\\] Error %s
"""