From 3332fbd5604676d1d0998c96c5ab6eafc8c3eb14 Mon Sep 17 00:00:00 2001 From: Martin Kennedy Date: Sun, 27 Jul 2025 13:16:36 -0400 Subject: [PATCH] cleanup: remove testing directory This wasn't even used for the single-char testing -- I branched instead after realizing that was more convenient. --- test/ap3825i.expect | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100755 test/ap3825i.expect diff --git a/test/ap3825i.expect b/test/ap3825i.expect deleted file mode 100755 index 52c72a2..0000000 --- a/test/ap3825i.expect +++ /dev/null @@ -1,44 +0,0 @@ -#!/usr/bin/expect -d - -set timeout 100 -exp_internal 1 - -set send_slow {1 0.005} - -spawn picocom -b 115200 /dev/ttyUSB1 --logfile typescript -set term_id $spawn_id -spawn ./toggle_jg928a_port.sh -set spawn_id $term_id -#spawn ssh root@jg928a -expect "DRAM" -send " " - -expect {[30s timeout]} -expect "login:" -send "admin\n" -expect "password:" -send "new2day\n" - -expect { - "Boot (PRI)-> " { - send -s {setenv ramboot_openwrt "setenv ipaddr 192.168.0.2; setenv serverip 192.168.0.1; tftpboot 0x2000000 openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-initramfs-kernel.bin; interrupts off; bootm 0x2000000;"; setenv boot_openwrt "bootm 0xEC000000;"; setenv bootcmd "run boot_openwrt"; saveenv; -} - } -} -expect { - "Protected 1 sectors\r\nBoot (PRI)-> " { - send -s "run ramboot_openwrt;\n" - } -} - -expect { - "Please press Enter to activate this console." { - send -s "\n" - sleep 50 - send -s { - sysupgrade https://downloads.openwrt.org/releases/23.05.2/targets/mpc85xx/p1020/openwrt-23.05.2-mpc85xx-p1020-extreme-networks_ws-ap3825i-squashfs-sysupgrade.bin; -done; -} - } -} -