mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
0cb6ee2664
Bug-fix release (2026-04-27). Changes: - dwarf/godwarf: fix regression debugging DWARFv5 on macOS - cmd/dlv: use goversion.ParseProducer for DW_AT_producer parsing - pkg/proc: fix flakiness in TestWaitFor - eBPF backend: extend feature to print procedure parameters in trace - minor comment and code cleanup Reference: https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1263-2026-04-27 Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
19 lines
374 B
Bash
19 lines
374 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
delve)
|
|
dlv version 2>&1 | grep -qF "$2" || {
|
|
echo "FAIL: dlv version did not print expected version '$2'"
|
|
exit 1
|
|
}
|
|
echo "dlv version: OK"
|
|
|
|
# Verify the binary is executable and responds to --help
|
|
dlv help 2>&1 | grep -qi "usage\|debugger\|help" || {
|
|
echo "FAIL: dlv help produced no usage output"
|
|
exit 1
|
|
}
|
|
echo "dlv help: OK"
|
|
;;
|
|
esac
|