Skip to contentSkip to conversation

selftests/powerpc: Add test to check if TAR is corrupted

PATCH Superseded Rashmica Gupta 1 participant 1 message Dec 2, 2015

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 selftests/powerpc: Add test to check if TAR is corrupted

If the transaction is aborted, the TAR should be rolled back to the checkpointed value before the transaction began.

---
Somehow had a missing brace and extra whitespace.

 tools/testing/selftests/powerpc/tm/.gitignore |  1 +
 tools/testing/selftests/powerpc/tm/Makefile   |  2 +-
 tools/testing/selftests/powerpc/tm/tm-tar.c   | 89 +++++++++++++++++++++++++++
 3 files changed, 91 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/powerpc/tm/tm-tar.c
tools/testing/selftests/powerpc/tm/.gitignore +1 -0
index 76eae258feeb..9bf6749550e3 100644
@@ -4,3 +4,4 @@ tm-signal-msr-resv
 tm-signal-stack
 tm-fork
 tm-dscr
+tm-tar
tools/testing/selftests/powerpc/tm/Makefile +1 -1
index 59eec240339d..ab2992f69b4c 100644
@@ -1,4 +1,4 @@
-TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack tm-fork tm-dscr
+TEST_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack tm-fork tm-dscr tm-tar
 
 all: $(TEST_PROGS)
 
tools/testing/selftests/powerpc/tm/tm-tar.c new file +89 -0

89 lines not on this page · raw message

Signature · 1 line
2.5.0