From 148871b3b5580ab13450e67a7a0f7c6742208ec2 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 14 Apr 2026 10:15:46 +0200 Subject: [PATCH] few docker tests adjustments --- docker/archlinux/run_tests.sh | 2 ++ docker/debian-13-trixie-arm64/README.md | 6 +++++- docker/debian-13-trixie-arm64/run_tests.sh | 2 ++ docker/debian-13-trixie-armhf/README.md | 6 +++++- docker/debian-13-trixie-armhf/run_tests.sh | 2 ++ docker/debian-13-trixie/run_tests.sh | 2 ++ docker/debian-14-forky/run_tests.sh | 2 ++ docker/fedora-41/run_tests.sh | 2 ++ docker/fedora-42/run_tests.sh | 2 ++ docker/fedora-43/run_tests.sh | 2 ++ docker/kali/run_tests.sh | 2 ++ docker/opensuse-leap/run_tests.sh | 2 ++ docker/opensuse-tumbleweed/run_tests.sh | 2 ++ docker/parrot-core-latest/run_tests.sh | 2 ++ docker/ubuntu-22.04/run_tests.sh | 2 ++ docker/ubuntu-24.04/run_tests.sh | 2 ++ docker/ubuntu-25.04/run_tests.sh | 2 ++ docker/ubuntu-25.10/run_tests.sh | 2 ++ tools/pm3_tests.sh | 1 + 19 files changed, 43 insertions(+), 2 deletions(-) diff --git a/docker/archlinux/run_tests.sh b/docker/archlinux/run_tests.sh index 53eeda9a3..5f5cd964b 100755 --- a/docker/archlinux/run_tests.sh +++ b/docker/archlinux/run_tests.sh @@ -40,3 +40,5 @@ pacman -Ss '^gcc$' # sudo pacman -S gcc tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/debian-13-trixie-arm64/README.md b/docker/debian-13-trixie-arm64/README.md index f1a21e9c9..68cc52712 100644 --- a/docker/debian-13-trixie-arm64/README.md +++ b/docker/debian-13-trixie-arm64/README.md @@ -7,13 +7,17 @@ sudo apt install qemu-user qemu-user-binfmt binfmt-support The script is to be run in proxmark root folder inside the docker env. ``` +su - rrg +cd proxmark3 docker/debian-13-trixie-arm64/run_tests.sh; ``` Or if you want to run single test, ``` -sudo apt update && sudo apt upgrade -y +apt update && sudo apt upgrade -y +su - rrg +cd proxmark3 git config --global --add safe.directory /home/rrg/proxmark3 make clean; make -j tools/pm3_tests.sh --long diff --git a/docker/debian-13-trixie-arm64/run_tests.sh b/docker/debian-13-trixie-arm64/run_tests.sh index b73d51a11..8d31f8332 100755 --- a/docker/debian-13-trixie-arm64/run_tests.sh +++ b/docker/debian-13-trixie-arm64/run_tests.sh @@ -12,3 +12,5 @@ fi # sudo apt update && sudo apt upgrade -y git config --global --add safe.directory /home/rrg/proxmark3 tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/debian-13-trixie-armhf/README.md b/docker/debian-13-trixie-armhf/README.md index 0eab1c9c9..aceaf5c44 100644 --- a/docker/debian-13-trixie-armhf/README.md +++ b/docker/debian-13-trixie-armhf/README.md @@ -7,13 +7,17 @@ sudo apt install qemu-user qemu-user-binfmt binfmt-support The script is to be run in proxmark root folder inside the docker env. ``` +su - rrg +cd proxmark3 docker/debian-13-trixie-armhf/run_tests.sh; ``` Or if you want to run single test, ``` -sudo apt update && sudo apt upgrade -y +apt update && sudo apt upgrade -y +su - rrg +cd proxmark3 git config --global --add safe.directory /home/rrg/proxmark3 make clean; make -j tools/pm3_tests.sh --long diff --git a/docker/debian-13-trixie-armhf/run_tests.sh b/docker/debian-13-trixie-armhf/run_tests.sh index 7c45cdc0d..bb0e350e0 100755 --- a/docker/debian-13-trixie-armhf/run_tests.sh +++ b/docker/debian-13-trixie-armhf/run_tests.sh @@ -13,3 +13,5 @@ fi git config --global --add safe.directory /home/rrg/proxmark3 tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/debian-13-trixie/run_tests.sh b/docker/debian-13-trixie/run_tests.sh index 2d4aee9d0..768e6c25b 100755 --- a/docker/debian-13-trixie/run_tests.sh +++ b/docker/debian-13-trixie/run_tests.sh @@ -4,3 +4,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/debian-14-forky/run_tests.sh b/docker/debian-14-forky/run_tests.sh index 24913d675..fdece8870 100755 --- a/docker/debian-14-forky/run_tests.sh +++ b/docker/debian-14-forky/run_tests.sh @@ -4,3 +4,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/fedora-41/run_tests.sh b/docker/fedora-41/run_tests.sh index b97b86afe..84366a573 100755 --- a/docker/fedora-41/run_tests.sh +++ b/docker/fedora-41/run_tests.sh @@ -6,3 +6,5 @@ sudo yum -y update tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/fedora-42/run_tests.sh b/docker/fedora-42/run_tests.sh index 87f35a9b4..a0009f804 100755 --- a/docker/fedora-42/run_tests.sh +++ b/docker/fedora-42/run_tests.sh @@ -6,3 +6,5 @@ sudo yum -y update tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/fedora-43/run_tests.sh b/docker/fedora-43/run_tests.sh index c74e26801..6cb9cffac 100755 --- a/docker/fedora-43/run_tests.sh +++ b/docker/fedora-43/run_tests.sh @@ -6,3 +6,5 @@ sudo yum -y update tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/kali/run_tests.sh b/docker/kali/run_tests.sh index dec20763b..df95834ab 100755 --- a/docker/kali/run_tests.sh +++ b/docker/kali/run_tests.sh @@ -6,3 +6,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/opensuse-leap/run_tests.sh b/docker/opensuse-leap/run_tests.sh index d2d49211b..a8ebe5137 100755 --- a/docker/opensuse-leap/run_tests.sh +++ b/docker/opensuse-leap/run_tests.sh @@ -6,3 +6,5 @@ sudo zypper refresh && sudo zypper --non-interactive update tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/opensuse-tumbleweed/run_tests.sh b/docker/opensuse-tumbleweed/run_tests.sh index 9002131e9..cdd9427d4 100755 --- a/docker/opensuse-tumbleweed/run_tests.sh +++ b/docker/opensuse-tumbleweed/run_tests.sh @@ -6,3 +6,5 @@ sudo zypper refresh && sudo zypper --non-interactive update tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/parrot-core-latest/run_tests.sh b/docker/parrot-core-latest/run_tests.sh index 65b0737c4..7d3cb4afe 100755 --- a/docker/parrot-core-latest/run_tests.sh +++ b/docker/parrot-core-latest/run_tests.sh @@ -6,3 +6,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/ubuntu-22.04/run_tests.sh b/docker/ubuntu-22.04/run_tests.sh index 4f8ce55ea..cb23d8d44 100755 --- a/docker/ubuntu-22.04/run_tests.sh +++ b/docker/ubuntu-22.04/run_tests.sh @@ -6,3 +6,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/ubuntu-24.04/run_tests.sh b/docker/ubuntu-24.04/run_tests.sh index 532337522..1e4bd2a38 100755 --- a/docker/ubuntu-24.04/run_tests.sh +++ b/docker/ubuntu-24.04/run_tests.sh @@ -6,3 +6,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/ubuntu-25.04/run_tests.sh b/docker/ubuntu-25.04/run_tests.sh index 046de2ba0..e716aacb6 100755 --- a/docker/ubuntu-25.04/run_tests.sh +++ b/docker/ubuntu-25.04/run_tests.sh @@ -6,3 +6,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/docker/ubuntu-25.10/run_tests.sh b/docker/ubuntu-25.10/run_tests.sh index 6bd042484..fa0983b5b 100755 --- a/docker/ubuntu-25.10/run_tests.sh +++ b/docker/ubuntu-25.10/run_tests.sh @@ -6,3 +6,5 @@ sudo apt update && sudo apt upgrade -y tools/release_tests.sh +# beeps +for ((i=0; i<10;i++)) do echo -e "\a";sleep 0.3; done diff --git a/tools/pm3_tests.sh b/tools/pm3_tests.sh index 04b7fdd79..ad3ea9733 100755 --- a/tools/pm3_tests.sh +++ b/tools/pm3_tests.sh @@ -336,6 +336,7 @@ while true; do if ! CheckFileExist "staticnested_2nt exists" "$STATICNESTED2NTBIN"; then break; fi if ! CheckFileExist "staticnested_2x1nt_rf08s exists" "$STATICNESTED2X1NTBIN"; then break; fi if ! CheckFileExist "staticnested_2x1nt_rf08s_1key exists" "$STATICNESTED2X11KNTBIN"; then break; fi + # very slow one... if ! CheckExecute slow "staticnested_0nt test" "$STATICNESTED0NTBIN a13e4902 2e9e49fc 1111 . 7bfc7a5b 1110 a17e4902 50f2abc2 1101; rm keys.dic" "Key ffffffffffff found in 3 arrays"; then break; fi if ! CheckExecute "staticnested_1nt 1/2 test" "$STATICNESTED1NTBIN 5c467f63 0 456ace4e da53428d 1001" "found 19823 keys"; then break; fi if ! CheckExecute "staticnested_1nt 2/2 test" "$STATICNESTED1NTBIN 5c467f63 0 e56f9fa2 7a9616b6 1110" "found 34531 keys"; then break; fi