summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
-rwxr-xr-xstart-unshare-impl.sh3
2 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index f3e84b0..7114071 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,11 @@ This creates a bare-bones environment that shares the filesystem with the rest o
but is otherwise isolated from it. This allows running additional X servers without affecting the
primary X server running on the machine.
+If running tests via `./start_unshare.sh` results in most tests failing with
+`parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)` then make sure
+that the test box does not have X11 configuration that e.g. forces loading of additional
+driver modules.
+
If the tests are run without any isolation then it is advisable to shut down any X
server on the test box.
diff --git a/start-unshare-impl.sh b/start-unshare-impl.sh
index bb1bf8b..06c7d80 100755
--- a/start-unshare-impl.sh
+++ b/start-unshare-impl.sh
@@ -16,4 +16,7 @@ mkdir -p _xorg_integration_test_empty
mount --bind _xorg_integration_test_empty /dev
mount --bind _xorg_integration_test_empty /sys
+# Hide any custom configuration on the test box
+mount --bind _xorg_integration_test_empty /usr/share/X11/xorg.conf.d
+
/bin/bash