mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
Update regression test expected value and pin deps
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
parent
176dfdd9c1
commit
9ec3ad58c8
@ -4,10 +4,11 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/anchore/syft/internal/log"
|
|
||||||
"io"
|
"io"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
|
"github.com/anchore/syft/internal/log"
|
||||||
|
|
||||||
"github.com/anchore/syft/internal"
|
"github.com/anchore/syft/internal"
|
||||||
|
|
||||||
"github.com/mitchellh/mapstructure"
|
"github.com/mitchellh/mapstructure"
|
||||||
|
|||||||
@ -24,7 +24,7 @@ func TestRegression212ApkBufferSize(t *testing.T) {
|
|||||||
t.Fatalf("failed to catalog image: %+v", err)
|
t.Fatalf("failed to catalog image: %+v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
expectedPkgs := 57
|
expectedPkgs := 58
|
||||||
actualPkgs := 0
|
actualPkgs := 0
|
||||||
for range catalog.Enumerate(pkg.ApkPkg) {
|
for range catalog.Enumerate(pkg.ApkPkg) {
|
||||||
actualPkgs += 1
|
actualPkgs += 1
|
||||||
|
|||||||
@ -1,2 +1,5 @@
|
|||||||
FROM alpine:latest
|
FROM alpine@sha256:d9a7354e3845ea8466bb00b22224d9116b183e594527fb5b6c3d30bc01a20378
|
||||||
RUN apk add tzdata vim alpine-sdk
|
RUN apk add --no-cache \
|
||||||
|
tzdata=2020f-r0 \
|
||||||
|
vim=8.2.2320-r0 \
|
||||||
|
alpine-sdk=1.0-r0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user