summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/root
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/test/root')
-rw-r--r--runsc/test/root/chroot_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/runsc/test/root/chroot_test.go b/runsc/test/root/chroot_test.go
index 89f90c3e0..0deca0532 100644
--- a/runsc/test/root/chroot_test.go
+++ b/runsc/test/root/chroot_test.go
@@ -118,10 +118,7 @@ func TestChrootGofer(t *testing.T) {
// This where the root directory is mapped on the host and that's where the
// gofer must have chroot'd to.
- root, err := d.RootDirInHost()
- if err != nil {
- t.Fatalf("Docker.RootDirInHost(): %v", err)
- }
+ root := "/root"
for _, child := range children {
childPID, err := strconv.Atoi(child)