summaryrefslogtreecommitdiffhomepage
path: root/runsc/testutil/testutil.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/testutil/testutil.go')
-rw-r--r--runsc/testutil/testutil.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/runsc/testutil/testutil.go b/runsc/testutil/testutil.go
index 26467bdc7..9632776d2 100644
--- a/runsc/testutil/testutil.go
+++ b/runsc/testutil/testutil.go
@@ -151,13 +151,6 @@ func TestConfig() *boot.Config {
}
}
-// TestConfigWithRoot returns the default configuration to use in tests.
-func TestConfigWithRoot(rootDir string) *boot.Config {
- conf := TestConfig()
- conf.RootDir = rootDir
- return conf
-}
-
// NewSpecWithArgs creates a simple spec with the given args suitable for use
// in tests.
func NewSpecWithArgs(args ...string) *specs.Spec {