From 6910ff36434f4bc5aa8c6b3094b617c7c92a9803 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 27 Sep 2018 08:57:32 -0700 Subject: 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 --- runsc/container/container_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runsc/container/container_test.go') 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()), -- cgit v1.2.3