aboutsummaryrefslogtreecommitdiffhomepage
path: root/pkg/ir_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ir_test.go')
-rw-r--r--pkg/ir_test.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/ir_test.go b/pkg/ir_test.go
index 9cc024ae..7ad5a8f5 100644
--- a/pkg/ir_test.go
+++ b/pkg/ir_test.go
@@ -40,8 +40,8 @@ func TestIRRoundtrip(t *testing.T) {
"exec-offline", "", nil, 0, false, false,
pkg.AbsWork,
[]string{"HAKUREI_TEST=1"},
- check.MustAbs("/opt/bin/testtool"),
- []string{"testtool"},
+ check.MustAbs("/opt/bin/tester"),
+ []string{"tester"},
pkg.MustPath("/file", false, pkg.NewFile("file", []byte(
"stub file",
@@ -49,7 +49,7 @@ func TestIRRoundtrip(t *testing.T) {
nil, "file:///hakurei.tar",
pkg.Checksum(bytes.Repeat([]byte{0xfc}, len(pkg.Checksum{}))),
))), pkg.MustPath("/opt", false, pkg.NewTar(pkg.NewDecompress(pkg.NewHTTPGet(
- nil, "file:///testtool.tar.gz",
+ nil, "file:///test-helper.tar.gz",
pkg.Checksum(bytes.Repeat([]byte{0xfc}, len(pkg.Checksum{}))),
), pkg.Gzip))),
)},
@@ -60,8 +60,8 @@ func TestIRRoundtrip(t *testing.T) {
0, false, false,
pkg.AbsWork,
[]string{"HAKUREI_TEST=1"},
- check.MustAbs("/opt/bin/testtool"),
- []string{"testtool", "net"},
+ check.MustAbs("/opt/bin/tester"),
+ []string{"tester", "net"},
pkg.MustPath("/file", false, pkg.NewFile("file", []byte(
"stub file",
@@ -69,7 +69,7 @@ func TestIRRoundtrip(t *testing.T) {
nil, "file:///hakurei.tar",
pkg.Checksum(bytes.Repeat([]byte{0xfc}, len(pkg.Checksum{}))),
))), pkg.MustPath("/opt", false, pkg.NewTar(pkg.NewDecompress(pkg.NewHTTPGet(
- nil, "file:///testtool.tar.gz",
+ nil, "file:///test-helper.tar.gz",
pkg.Checksum(bytes.Repeat([]byte{0xfc}, len(pkg.Checksum{}))),
), pkg.Gzip))),
)},
@@ -80,8 +80,8 @@ func TestIRRoundtrip(t *testing.T) {
0, false, false,
pkg.AbsWork,
[]string{"HAKUREI_TEST=1"},
- check.MustAbs("/opt/bin/testtool"),
- []string{"testtool", "measured"},
+ check.MustAbs("/opt/bin/tester"),
+ []string{"tester", "measured"},
pkg.MustPath("/file", false, pkg.NewFile("file", []byte(
"stub file",
@@ -89,7 +89,7 @@ func TestIRRoundtrip(t *testing.T) {
nil, "file:///hakurei.tar",
pkg.Checksum(bytes.Repeat([]byte{0xfd}, len(pkg.Checksum{}))),
))), pkg.MustPath("/opt", false, pkg.NewTar(pkg.NewDecompress(pkg.NewHTTPGet(
- nil, "file:///testtool.tar.gz",
+ nil, "file:///test-helper.tar.gz",
pkg.Checksum(bytes.Repeat([]byte{0xfd}, len(pkg.Checksum{}))),
), pkg.Gzip))),
)},