selftests/powerpc: Add TM test to check if TAR is corrupted
authorRashmica Gupta <rashmicy@gmail.com>
Wed, 23 Dec 2015 05:49:53 +0000 (16:49 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:54:13 +0000 (21:54 +1000)
commitdbccb4940c9c9c8c93fcf733445e96dd2d6890d6
tree3efda272d5952dcb55dcff71e3f7d8a497076fee
parentd95be4ca3e457044be55c8b1c1b5ac64f17d8a92
selftests/powerpc: Add TM 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. The value written to the
TAR when the transaction is suspended should only remain there if the
transaction completes successfully.

Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/tm/.gitignore
tools/testing/selftests/powerpc/tm/Makefile
tools/testing/selftests/powerpc/tm/tm-tar.c [new file with mode: 0644]