fix tests
This commit is contained in:
1 parent
fb9d19e43a
commit
bbe0fa1a35
2 files changed
+3
-3
No files matched your search
@@ -45,9 +45,9 @@ bool CIPURSETest(bool verbose) {
|
|||||||
|
|
||||||
PrintAndLogEx(INFO, "---------------------------");
|
PrintAndLogEx(INFO, "---------------------------");
|
||||||
if (res)
|
if (res)
|
||||||
PrintAndLogEx(SUCCESS, "\tTest(s) [ %s ]", _GREEN_("ok"));
|
PrintAndLogEx(SUCCESS, " Test(s) [ %s ]", _GREEN_("ok"));
|
||||||
else
|
else
|
||||||
PrintAndLogEx(FAILED, "\tTest(s) [ %s ]", _RED_("fail"));
|
PrintAndLogEx(FAILED, " Test(s) [ %s ]", _RED_("fail"));
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
@@ -713,7 +713,7 @@ static command_t CommandTable[] = {
|
|||||||
{"write", CmdHFCipurseWriteFile, IfPm3Iso14443a, "Write binary file"},
|
{"write", CmdHFCipurseWriteFile, IfPm3Iso14443a, "Write binary file"},
|
||||||
{"aread", CmdHFCipurseReadFileAttr, IfPm3Iso14443a, "Read file attributes"},
|
{"aread", CmdHFCipurseReadFileAttr, IfPm3Iso14443a, "Read file attributes"},
|
||||||
{"delete", CmdHFCipurseDeleteFile, IfPm3Iso14443a, "Delete file"},
|
{"delete", CmdHFCipurseDeleteFile, IfPm3Iso14443a, "Delete file"},
|
||||||
{"test", CmdHFCipurseTest, IfPm3Iso14443a, "Tests"},
|
{"test", CmdHFCipurseTest, AlwaysAvailable, "Tests"},
|
||||||
{NULL, NULL, 0, NULL}
|
{NULL, NULL, 0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user