Compare commits

...
Author SHA1 Message Date
Alex Goodman b182fc4578 unit test to reproduce issue #691
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2021-12-14 17:27:35 -05:00
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -25,6 +25,11 @@ func TestIdentifyDistro(t *testing.T) {
Type: Alpine,
Version: "3.11.6",
},
{
fixture: "test-fixtures/os/alpine-edge",
Type: Alpine,
Version: "3.15.0_alpha20210804",
},
{
fixture: "test-fixtures/os/amazon",
Type: AmazonLinux,
@@ -0,0 +1,6 @@
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.15.0_alpha20210804
PRETTY_NAME="Alpine Linux edge"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"