Debian Patches

Status for golang-github-go-task-slim-sprig/3.0.0-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Skip-TestGetHostByName-as-network-is-unavailable-in-.patch Skip TestGetHostByName as network is unavailable in Debian build infra

When building in pbuilder (or pretty much the Debian build infra), the
network is unavailable. This results in TestGetHostByName failing with:

=== RUN TestGetHostByName
network_test.go:16:
Error Trace: /build/golang-github-go-task-slim-sprig-3.0.0/_build/src/github.com/go-task/slim-sprig/network_test.go:16
Error: Expected value not to be nil.
Test: TestGetHostByName
network_test.go:17:
Error Trace: /build/golang-github-go-task-slim-sprig-3.0.0/_build/src/github.com/go-task/slim-sprig/network_test.go:17
Error: Should NOT be empty, but was <nil>
Test: TestGetHostByName
--- FAIL: TestGetHostByName (0.00s)

Skip the test such that we can run the unit tests.
Christopher Obbard <obbardc@debian.org> no 2024-02-01

All known versions for source package 'golang-github-go-task-slim-sprig'

Links