• Michael Ellerman's avatar
    selftests/powerpc: Abort load_unaligned_zeropad on unhandled SEGV · 06236f4e
    Michael Ellerman authored
    If the load unaligned zeropad test takes a SEGV which can't be handled,
    we increment segv_error, print the offending NIP and then return without
    taking any further action. In almost all cases this means we'll just
    take the SEGV again, and loop eternally spamming the console.
    
    Instead just abort(), it's a fatal error in the test. The test harness
    will notice that the child died and print a nice message for us.
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    06236f4e
load_unaligned_zeropad.c 3.28 KB