From b1114623b037e9cd4387da46091a89a65ed97448 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Mon, 17 Aug 2026 21:04:35 +0800 Subject: fix(pkg): Remove check() due to hanging integration tests Upstream's integration tests rely on the self-signed certs in examples/tls/, which expired in 2023. The client retries the failed handshake with backoff indefinitely, so cargo test hangs rather than failing, stalling the build. Co-Authored-By: Claude Opus 5 Signed-off-by: KunoiSayami --- repo/rathole/PKGBUILD | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'repo/rathole') diff --git a/repo/rathole/PKGBUILD b/repo/rathole/PKGBUILD index f00edf2..86c2f06 100644 --- a/repo/rathole/PKGBUILD +++ b/repo/rathole/PKGBUILD @@ -45,12 +45,9 @@ build() { cargo build --release --offline } -check() { - cd "$pkgname" - - export CARGO_TARGET_DIR="$srcdir/target" - cargo test --release --offline -} +# No check(): upstream's integration tests use the self-signed certs in +# examples/tls/, which expired in 2023. The client retries the failed +# handshake with backoff forever, so `cargo test` hangs instead of failing. package() { install -dm700 "$pkgdir"/etc/rathole -- cgit v1.3.1