aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/lockedfile/lockedfile_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lockedfile/lockedfile_test.go')
-rw-r--r--internal/lockedfile/lockedfile_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/lockedfile/lockedfile_test.go b/internal/lockedfile/lockedfile_test.go
index 6182dd99..7ad3c2c5 100644
--- a/internal/lockedfile/lockedfile_test.go
+++ b/internal/lockedfile/lockedfile_test.go
@@ -15,7 +15,7 @@ import (
"testing"
"time"
- "hakurei.app/container"
+ "hakurei.app/container/fhs"
"hakurei.app/internal/lockedfile"
"hakurei.app/internal/lockedfile/internal/testexec"
)
@@ -215,7 +215,7 @@ func TestSpuriousEDEADLK(t *testing.T) {
t.Fatal(err)
}
- cmd := testexec.CommandContext(t, t.Context(), container.MustExecutable(nil), "-test.run=^"+t.Name()+"$")
+ cmd := testexec.CommandContext(t, t.Context(), fhs.ProcSelfExe, "-test.run=^"+t.Name()+"$")
cmd.Env = append(os.Environ(), fmt.Sprintf("%s=%s", dirVar, dir))
qDone := make(chan struct{})