added new lock test to check do i hold functionality. tested on incorrect implementation, fails. tested on correct implementation, passed.

This commit is contained in:
zsmoore
2017-02-16 01:41:05 -05:00
parent 398e4eb90a
commit b51f2a88de
3 changed files with 72 additions and 1 deletions

View File

@@ -593,6 +593,7 @@ static const char *testmenu[] = {
"[lt1] Lock test 1 (1) ",
"[lt2] Lock test 2 (1*) ",
"[lt3] Lock test 3 (1*) ",
"[lt4] Lock test 4 (1) ",
"[cvt1] CV test 1 (1) ",
"[cvt2] CV test 2 (1) ",
"[cvt3] CV test 3 (1*) ",
@@ -743,6 +744,7 @@ static struct {
{ "lt1", locktest },
{ "lt2", locktest2 },
{ "lt3", locktest3 },
{ "lt4", locktest4 },
{ "cvt1", cvtest },
{ "cvt2", cvtest2 },
{ "cvt3", cvtest3 },