Skip to content
Snippets Groups Projects
Commit 769f601b authored by Simon McVittie's avatar Simon McVittie
Browse files

libreoffice: ensure that ~/Documents exists


Real Apertis images have ~/Documents already, but the Documents
directory isn't created when the filesystem image is picked apart
and reassembled by LAVA. This causes `mktemp`, and hence the
apparmor-libreoffice test, to fail on LAVA.

Relevant to T2104, but does not close it.

Reviewed-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D3765
parent f30285e8
No related branches found
No related tags found
No related merge requests found
......@@ -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}/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment