summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2021-10-29 17:40:45 (GMT)
committerGitHub <noreply@github.com>2021-10-29 17:40:45 (GMT)
commit23d0a0856eb973f46139190de14bb62dfb3abc27 (patch)
tree84601ce3c8369dd006c163ddc255a780cc33515b /test
parent33c6deb21ddec59067d58ebca53d9a0b39a7a848 (diff)
parent71f1ae69b1e55dd3f61fe477063749da95cf8b08 (diff)
downloadSCons-23d0a0856eb973f46139190de14bb62dfb3abc27.zip
SCons-23d0a0856eb973f46139190de14bb62dfb3abc27.tar.gz
SCons-23d0a0856eb973f46139190de14bb62dfb3abc27.tar.bz2
Merge pull request #4045 from omar-polo/fix-execute-a-directory-test
fix test some test expected stderr regexp
Diffstat (limited to 'test')
-rw-r--r--test/Errors/execute-a-directory.py2
-rw-r--r--test/Errors/non-executable-file.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Errors/execute-a-directory.py b/test/Errors/execute-a-directory.py
index ff50620..8460e26 100644
--- a/test/Errors/execute-a-directory.py
+++ b/test/Errors/execute-a-directory.py
@@ -64,7 +64,7 @@ scons: \\*\\*\\* \\[%s\\] Error 1
"""
cannot_execute = """\
-(sh: )*.+: cannot execute( \\[Is a directory\\])?
+(sh: )*.+: cannot execute(( -)? \\[?Is a directory\\]?)?
scons: \\*\\*\\* \\[%s\\] Error %s
"""
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
"""