Skip to content

Commit b962544

Browse files
bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) (GH-30491)
(cherry picked from commit 3d11c1b) Co-authored-by: Thomas Klausner <tk@giga.or.at>
1 parent 987fba1 commit b962544

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9895,7 +9895,7 @@ then
98959895
# small for the default recursion limit. Increase the stack size
98969896
# to ensure that tests don't crash
98979897
stack_size="1000000" # 16 MB
9898-
if test "$with_ubsan" == "yes"
9898+
if test "$with_ubsan" = "yes"
98999899
then
99009900
# Undefined behavior sanitizer requires an even deeper stack
99019901
stack_size="4000000" # 64 MB

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2816,7 +2816,7 @@ then
28162816
# small for the default recursion limit. Increase the stack size
28172817
# to ensure that tests don't crash
28182818
stack_size="1000000" # 16 MB
2819-
if test "$with_ubsan" == "yes"
2819+
if test "$with_ubsan" = "yes"
28202820
then
28212821
# Undefined behavior sanitizer requires an even deeper stack
28222822
stack_size="4000000" # 64 MB

0 commit comments

Comments
 (0)