mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 19:04:07 +01:00
1238660a59
refs #17
22 lines
584 B
Go
22 lines
584 B
Go
package acceptance
|
|
|
|
import "testing"
|
|
|
|
func TestSimpleRPM(t *testing.T) {
|
|
t.Run("amd64", func(t *testing.T) {
|
|
accept(t, "simple_rpm", "simple.yaml", "rpm", "rpm.dockerfile")
|
|
})
|
|
t.Run("i386", func(t *testing.T) {
|
|
accept(t, "simple_rpm_386", "simple.386.yaml", "rpm", "rpm.386.dockerfile")
|
|
})
|
|
}
|
|
|
|
func TestComplexRPM(t *testing.T) {
|
|
t.Run("amd64", func(t *testing.T) {
|
|
accept(t, "complex_rpm", "complex.yaml", "rpm", "rpm.complex.dockerfile")
|
|
})
|
|
t.Run("i386", func(t *testing.T) {
|
|
accept(t, "complex_rpm_386", "complex.386.yaml", "rpm", "rpm.386.complex.dockerfile")
|
|
})
|
|
}
|