From dbb3f58c25df57dbaa6b668fd8a7f8642c8a6421 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Sun, 6 Sep 2026 11:24:11 +0800 Subject: [PATCH] =?UTF-8?q?test(ci):=20=E9=AA=8C=E8=AF=81=20Windows=20?= =?UTF-8?q?=E6=89=B9=E5=A4=84=E7=90=86=E4=B8=AD=E6=96=87=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E4=B8=8E=E5=8F=82=E6=95=B0=E8=A7=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/regression/windows.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/regression/windows.ps1 b/scripts/regression/windows.ps1 index ef45f53..dcebe2f 100644 --- a/scripts/regression/windows.ps1 +++ b/scripts/regression/windows.ps1 @@ -713,6 +713,9 @@ finally { Pop-Location } +# Exercise command-file decoding independently of network capabilities. +Run-Cmd -Name "command_utf8_回归" -Note "UTF-8 batch path and command arguments" -Command "echo 回归编码" -SuccessPattern "(?m)^回归编码\r?$" + $icmp4Capability = Get-CapabilityStatus -Name "icmp4" -Label "ICMPv4 tracing" -Command "`"$Bin`" --traceroute --no-color -q 1 -m 1 --timeout 1000 1.1.1.1" -SuccessPattern "hops max, .*ICMP mode" $tcp4Capability = Get-CapabilityStatus -Name "tcp4" -Label "TCPv4 tracing" -Command "`"$Bin`" --traceroute --no-color -T -q 1 -m 1 --timeout 1000 1.1.1.1" -SuccessPattern "hops max, .*TCP mode" $udp4Capability = Get-CapabilityStatus -Name "udp4" -Label "UDPv4 tracing" -Command "`"$Bin`" --traceroute --no-color -U -q 1 -m 1 --timeout 1000 1.1.1.1" -SuccessPattern "hops max, .*UDP mode"