From 0f6016e2f69388bb2544e91ad4bd3f1f8ec9fd67 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 9 Oct 2020 21:11:18 +0200 Subject: [PATCH] adapt tests for new commands --- tools/pm3_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pm3_tests.sh b/tools/pm3_tests.sh index 8189c97a5..88544add5 100755 --- a/tools/pm3_tests.sh +++ b/tools/pm3_tests.sh @@ -334,8 +334,8 @@ while true; do if ! CheckExecute "reveng -g test" "$CLIENTBIN -c 'reveng -g abda202c'" "CRC-16/ISO-IEC-14443-3-A"; then break; fi if ! CheckExecute "reveng -w test" "$CLIENTBIN -c 'reveng -w 8 -s 01020304e3 010204039d'" "CRC-8/SMBUS"; then break; fi if ! CheckExecute "mfu pwdgen test" "$CLIENTBIN -c 'hf mfu pwdgen t'" "Selftest OK"; then break; fi - if ! CheckExecute "trace load/list 14a" "$CLIENTBIN -c 'trace load traces/hf_14a_mfu.trace; trace list 1;'" "READBLOCK(8)"; then break; fi - if ! CheckExecute "trace load/list x" "$CLIENTBIN -c 'trace load traces/hf_14a_mfu.trace; trace list x 1;'" "0.0101840425"; then break; fi + if ! CheckExecute "trace load/list 14a" "$CLIENTBIN -c 'trace load -f traces/hf_14a_mfu.trace; trace list -1 -t 14a;'" "READBLOCK(8)"; then break; fi + if ! CheckExecute "trace load/list x" "$CLIENTBIN -c 'trace load -f traces/hf_14a_mfu.trace; trace list -x1 -t 14a;'" "0.0101840425"; then break; fi echo -e "\n${C_BLUE}Testing LF:${C_NC}" if ! CheckExecute "lf AWID test" "$CLIENTBIN -c 'data load traces/lf_AWID-15-259.pm3;lf search 1'" "AWID ID found"; then break; fi