diff --git a/libreoffice/automated/run-test.sh b/libreoffice/automated/run-test.sh
index 507b496e50541f6f52b8b6f3a210a7ad4d62f05f..ade3433cb8ffaa92454ca012ca3f678d5a73fb06 100755
--- a/libreoffice/automated/run-test.sh
+++ b/libreoffice/automated/run-test.sh
@@ -18,6 +18,7 @@ check_not_root
 
 # Chosen to be something that the AppArmor profile for LibreOffice
 # should normally allow
+mkdir -p ~/Documents
 docsdir="$(mktemp -d ~/Documents/apertis-tests-libreoffice.XXXXXX)"
 cp -a "${MEDIA_RESOURCE_DIR}/documents/"*.od[pst] "${docsdir}/"