Skip to content

Commit 291c22b

Browse files
committed
test: run on all OSs
1 parent 3f48931 commit 291c22b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

extractor/filesystem/os/rpm/rpm_test.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import (
2020
"os"
2121
"path"
2222
"path/filepath"
23-
"runtime"
24-
"slices"
2523
"sort"
2624
"strings"
2725
"testing"
@@ -43,11 +41,6 @@ import (
4341
)
4442

4543
func TestFileRequired(t *testing.T) {
46-
// supported OSes
47-
if !slices.Contains([]string{"linux"}, runtime.GOOS) {
48-
t.Skipf("Test skipped, OS unsupported: %v", runtime.GOOS)
49-
}
50-
5144
tests := []struct {
5245
name string
5346
path string
@@ -171,11 +164,6 @@ SUPPORT_END=2024-05-14
171164
VARIANT="Container Image"`
172165

173166
func TestExtract(t *testing.T) {
174-
// supported OSes
175-
if !slices.Contains([]string{"linux"}, runtime.GOOS) {
176-
t.Skipf("Test skipped, OS unsupported: %v", runtime.GOOS)
177-
}
178-
179167
tests := []struct {
180168
name string
181169
path string
@@ -565,11 +553,6 @@ func TestExtract(t *testing.T) {
565553
}
566554

567555
func TestExtract_VirtualFilesystem(t *testing.T) {
568-
// supported OSes
569-
if !slices.Contains([]string{"linux"}, runtime.GOOS) {
570-
t.Skipf("Test skipped, OS unsupported: %v", runtime.GOOS)
571-
}
572-
573556
tests := []struct {
574557
name string
575558
path string

0 commit comments

Comments
 (0)