summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/container_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-09-27 08:57:32 -0700
committerShentubot <shentubot@google.com>2018-09-27 08:58:23 -0700
commit6910ff36434f4bc5aa8c6b3094b617c7c92a9803 (patch)
tree7caefb429e68f9af3739f984dc0f88a26840a753 /runsc/container/container_test.go
parentfca9a390db4c965b4606dd85838460841bd4ab14 (diff)
Move uds_test_app to common test_app
This was done so it's easier to add more functionality to this file for other tests. PiperOrigin-RevId: 214782043 Change-Id: I1f38b9ee1219b3ce7b789044ada8e52bdc1e6279
Diffstat (limited to 'runsc/container/container_test.go')
-rw-r--r--runsc/container/container_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/runsc/container/container_test.go b/runsc/container/container_test.go
index 083054877..efa598202 100644
--- a/runsc/container/container_test.go
+++ b/runsc/container/container_test.go
@@ -722,15 +722,15 @@ func TestUnixDomainSockets(t *testing.T) {
}
defer outputFile.Close()
- app, err := testutil.FindFile("runsc/container/uds_test_app")
+ app, err := testutil.FindFile("runsc/container/test_app")
if err != nil {
- t.Fatal("error finding uds_test_app:", err)
+ t.Fatal("error finding test_app:", err)
}
socketPath := filepath.Join(dir, "uds_socket")
defer os.Remove(socketPath)
- spec := testutil.NewSpecWithArgs(app, "--file", outputPath, "--socket", socketPath)
+ spec := testutil.NewSpecWithArgs(app, "uds", "--file", outputPath, "--socket", socketPath)
spec.Process.User = specs.User{
UID: uint32(os.Getuid()),
GID: uint32(os.Getgid()),