summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-04-24 18:22:21 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-24 18:23:37 -0700
commit15a822a1936e295cb6418df7ddf445d8500dfb2e (patch)
tree27141f38c72717e40dc1ef83caefca09d5ac16c4 /scripts
parent4af39dd1c522f7852312ecbfd3678892fc656322 (diff)
VFS2: Get HelloWorld image tests to pass with VFS2
This change includes: - Modifications to loader_test.go to get TestCreateMountNamespace to pass with VFS2. - Changes necessary to get TestHelloWorld in image tests to pass with VFS2. This means runsc can run the hello-world container with docker on VSF2. Note: Containers that use sockets will not run with these changes. See "//test/image/...". Any tests here with sockets currently fail (which is all of them but HelloWorld). PiperOrigin-RevId: 308363072
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/docker_tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/docker_tests.sh b/scripts/docker_tests.sh
index 931ce1aa4..dce0a4085 100755
--- a/scripts/docker_tests.sh
+++ b/scripts/docker_tests.sh
@@ -20,3 +20,6 @@ make load-all-images
install_runsc_for_test docker
test_runsc //test/image:image_test //test/e2e:integration_test
+
+install_runsc_for_test docker --vfs2
+test_runsc //test/image:image_test --test_filter=.*TestHelloWorld