mirror of
https://github.com/peridotbuild/peridot.git
synced 2024-10-08 08:54:12 +00:00
Expose tempDirForge to be able to test full workflow
This commit is contained in:
parent
9ce1b9b229
commit
1ed6fd238f
@ -42,6 +42,7 @@ var (
|
||||
//go:embed testdata/RPM-GPG-KEY-Rocky-8
|
||||
rocky8GpgKey []byte
|
||||
inmf *inMemoryForge
|
||||
tempDirForge string
|
||||
)
|
||||
|
||||
type UnitTestSuite struct {
|
||||
@ -133,7 +134,7 @@ func TestMain(m *testing.M) {
|
||||
|
||||
gpgKeys = append(gpgKeys, keyRing...)
|
||||
|
||||
tempDirForge, err := os.MkdirTemp("", "test-forge-*")
|
||||
tempDirForge, err = os.MkdirTemp("", "test-forge-*")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user