fake_command_runner.CommandSpec{ Path: "/depot/some-id/bin/iomux-link", Args: []string{ "-w", "/depot/some-id/jobs/1/cursors", "/depot/some-id/jobs/1", }, }, os.Interrupt, )) }) }) }) Describe("Copying in", func() { It("executes rsync from src into dst via wsh --rsh", func() { fakeRunner.ServerRootPath = "/host" err := container.CopyIn("/src", "/dst") Expect(err).ToNot(HaveOccurred()) Expect(fakeRunner).To(HaveExecutedSerially( fake_command_runner.CommandSpec{ Path: "rsync", Args: []string{ "-e", "/depot/some-id/bin/wsh --socket /depot/some-id/run/wshd.sock --rsh", "-r", "-p", "--links", "/host/src", "vcap@container:/dst",