Skip to content

Commit

Permalink
Create files needed for proper test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestEckhardt authored and ryanmoran committed Apr 10, 2021
1 parent 7542926 commit 494ac3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions postal/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ version = "this is super not semver"
Expect(tw.Close()).To(Succeed())
Expect(zw.Close()).To(Succeed())

Expect(os.WriteFile(filepath.Join(layerPath, "some-file"), nil, 0644)).To(Succeed())
Expect(os.Symlink("some-file", filepath.Join(layerPath, "symlink"))).To(Succeed())

sum := sha256.Sum256(buffer.Bytes())
Expand Down Expand Up @@ -803,6 +804,7 @@ version = "this is super not semver"
Expect(tw.Close()).To(Succeed())
Expect(zw.Close()).To(Succeed())

Expect(os.WriteFile(filepath.Join(layerPath, "some-file"), nil, 0644)).To(Succeed())
Expect(os.Symlink("some-file", filepath.Join(layerPath, "symlink"))).To(Succeed())

sum := sha256.Sum256(buffer.Bytes())
Expand Down

0 comments on commit 494ac3f

Please sign in to comment.