From 1c2fa05120ba1df591235c05ad52fb80b0870b22 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Fri, 29 Oct 2021 09:47:40 +0200 Subject: fix test regexp On OpenBSD the output is sh: : cannot execute - Is a directory --- test/Errors/execute-a-directory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 """ -- cgit v0.12 From 71f1ae69b1e55dd3f61fe477063749da95cf8b08 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Fri, 29 Oct 2021 09:52:29 +0200 Subject: fix test regexp On OpenBSD the output is sh: : cannot execute - Permission denied --- test/Errors/non-executable-file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 """ -- cgit v0.12