Skip to content

[v1] TestMatch failure with go 1.20 #84

Description

@davide125

When attempting to build v1 in Fedora Rawhide, which uses go 1.20:

+ GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '
+ go-rpm-integration check -i github.com/bmatcuk/doublestar -b /builddir/build/BUILD/doublestar-1.3.4/_build/bin -s /builddir/build/BUILD/doublestar-1.3.4/_build -V 1.3.4-1.fc39 -p /builddir/build/BUILDROOT/golang-github-bmatcuk-doublestar-1.3.4-1.fc39.x86_64 -g /usr/share/gocode -r '.*example.*'
Testing    in: /builddir/build/BUILD/doublestar-1.3.4/_build/src
         PATH: /builddir/build/BUILD/doublestar-1.3.4/_build/bin:/usr/lib64/ccache:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/doublestar-1.3.4/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags " -X github.com/bmatcuk/doublestar/version=1.3.4 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '"
      testing: github.com/bmatcuk/doublestar
github.com/bmatcuk/doublestar
--- FAIL: TestMatch (0.00s)
    doublestar_test.go:155: #57. Match(`a[`, `a`) != path.Match(...). Got false, <nil> want false, syntax error in pattern
FAIL
exit status 1
FAIL	github.com/bmatcuk/doublestar	0.015s

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions