diff --git a/tools/mcde-keytest.sh b/tools/mcde-keytest.sh index 0ff1d30fb9..bd991e2450 100755 --- a/tools/mcde-keytest.sh +++ b/tools/mcde-keytest.sh @@ -33,6 +33,13 @@ n=0 H=$TOP/build/mcde-keytest-home rm -rf "$H" mkdir -p "$H/.dt" +# A session's home has Desktop, Documents, Downloads, Pictures, Music and +# Network (programs/dtlogin/config/0075.homefolders): without them a program +# that writes "to the Desktop" falls back to the home directory and a test +# that looks on the Desktop sees nothing. +for d in Desktop Documents Downloads Pictures Music Network; do + mkdir -p "$H/$d" +done Xvfb $DISP -screen 0 1280x800x24 -nolisten tcp > /dev/null 2>&1 & xpid=$!