Perform an exec() class syscall with a suspended transaction.
This is a test for the bug we fixed in 8e96a87c54 ("powerpc/tm: Always
reclaim in start_thread() for exec() class syscalls").
Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
[mpe: Fix build errors, use a single binary for the test]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
18 lines
374 B
Makefile
18 lines
374 B
Makefile
TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
|
|
tm-vmxcopy tm-fork tm-tar tm-tmspr tm-exec tm-execed
|
|
|
|
all: $(TEST_PROGS)
|
|
|
|
$(TEST_PROGS): ../harness.c ../utils.c
|
|
|
|
CFLAGS += -mhtm
|
|
|
|
tm-syscall: tm-syscall-asm.S
|
|
tm-syscall: CFLAGS += -I../../../../../usr/include
|
|
tm-tmspr: CFLAGS += -pthread
|
|
|
|
include ../../lib.mk
|
|
|
|
clean:
|
|
rm -f $(TEST_PROGS) *.o
|