From 9dbd764c8c366b5a6cd782f6e643415af3245822 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Sat, 13 Dec 2025 21:12:45 +0100 Subject: [PATCH] Reset by recopying memory file. Signed-off-by: Pol Henarejos --- tests/scripts/func.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/scripts/func.sh b/tests/scripts/func.sh index e081224..b9764ea 100755 --- a/tests/scripts/func.sh +++ b/tests/scripts/func.sh @@ -37,7 +37,9 @@ gen_and_delete() { test $? -eq 0 && echo -n "." || exit $? } reset() { - python3 tools/pico-hsm-tool.py --pin 648219 initialize --so-pin 57621880 --silent --no-dev-cert > /dev/null 2>&1 + #python3 tools/pico-hsm-tool.py --pin 648219 initialize --so-pin 57621880 --silent --no-dev-cert > /dev/null 2>&1 + rm -f memory.flash + tar -xf tests/memory.tar.gz test $? -eq 0 || exit $? }