From f3848eea129843ada61e640786cbbb27b989d216 Mon Sep 17 00:00:00 2001 From: Ilya Zuyev Date: Thu, 8 Jul 2021 14:09:41 -0700 Subject: [PATCH] fix test --- test/integration/pkg_install_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/pkg_install_test.go b/test/integration/pkg_install_test.go index 1ecec8ed0830..8b555a001ecb 100644 --- a/test/integration/pkg_install_test.go +++ b/test/integration/pkg_install_test.go @@ -103,7 +103,7 @@ func dpkgInstall(ctx context.Context, t *testing.T, image, deb string) (*RunResu func dpkgInstallDriver(ctx context.Context, t *testing.T, image, deb string) (*RunResult, error) { return Run(t, exec.CommandContext(ctx, - "docker", "run", "--rm", "", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)), + "docker", "run", "--rm", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)), image, "sh", "-c", fmt.Sprintf("apt-get update; apt-get install -y libvirt0; dpkg -i /var/tmp/%s", filepath.Base(deb)))) }