Skip to contentSkip to conversation

t0012-help on 'seen' crashes with gcc-13, passes with clang-16

DISCUSSION Junio C Hamano 1 participant 1 message Oct 1, 2024

lore
Share & tools
lore
#0 lore raw

I didn't dug more deeply than what the title says.

expecting success of 0012.33 'add can handle -h':

                (
                        GIT_CEILING_DIRECTORIES=$(pwd) &&
                        export GIT_CEILING_DIRECTORIES &&
                        test_expect_code 129 git -C sub $builtin -h >output 2>&1
                ) &&
                test_grep usage output

/home/gitster/w/buildfarm/seen/t/test-lib-functions.sh: line 1239: 270317 Segmentation fault "$@" 2>&7
test_expect_code: command exited with 139, we wanted 129 git -C sub add -h not ok 33 - add can handle -h
#
# (

#                               GIT_CEILING_DIRECTORIES=$(pwd) &&
#                               export GIT_CEILING_DIRECTORIES &&
#                               test_expect_code 129 git -C sub $builtin -h >output 2>&1

# ) &&
# test_grep usage output