Skip to content

Commit

Permalink
test: stabilize arch test
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed May 24, 2023
1 parent 7d6a77b commit f6f8048
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions arch/arch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ func TestGlob(t *testing.T) {
{
Destination: "/usr/share/nfpm-repro",
Source: "../files/*.go",
FileInfo: &files.ContentFileInfo{
Mode: 0o644,
},
},
},
},
Expand Down Expand Up @@ -362,8 +365,8 @@ func TestGlob(t *testing.T) {
"./usr/": {"mode=755", "type=dir"},
"./usr/share/": {"mode=755", "type=dir"},
"./usr/share/nfpm-repro/": {"mode=755", "type=dir"},
"./usr/share/nfpm-repro/files.go": {"mode=664", "size=15900", "type=file", "md5digest=0c4e339bc678ab6b2b291ec3088e32a2", "sha256digest=27614421b69216e9d8ddd177210f2c9a71d8ff9d76cc2b1654276eccd04e84c2"},
"./usr/share/nfpm-repro/files_test.go": {"mode=664", "size=17741", "type=file", "md5digest=52818697d19e885bc2e5b37f2dc4a7fb", "sha256digest=fdbb35f8c11e118508ddd526c0a7797171ea100aa14337caddd7ab249ee91272"},
"./usr/share/nfpm-repro/files.go": {"mode=644", "size=15900", "type=file", "md5digest=0c4e339bc678ab6b2b291ec3088e32a2", "sha256digest=27614421b69216e9d8ddd177210f2c9a71d8ff9d76cc2b1654276eccd04e84c2"},
"./usr/share/nfpm-repro/files_test.go": {"mode=644", "size=17741", "type=file", "md5digest=52818697d19e885bc2e5b37f2dc4a7fb", "sha256digest=fdbb35f8c11e118508ddd526c0a7797171ea100aa14337caddd7ab249ee91272"},
}

for _, line := range strings.Split(string(mtreeContentBts), "\n") {
Expand Down

0 comments on commit f6f8048

Please sign in to comment.