mcde-keytest: the fresh home gets the session's folders (t0222)

A session creates Desktop, Documents, Downloads, Pictures, Music and Network
(programs/dtlogin/config/0075.homefolders).  The test's new home had none, so
a program that writes "to the Desktop" fell back to the home directory and
the screenshot check counted 0 before and 0 after while
"Screenshot 2026-11-15 at 08.49.33.png" lay in $HOME (t0222, measured).

With the folders, the same run says: 0 before, 1 after,
"Screenshot 2026-11-15 at 08.51.30.png" (build/logs/mcde-keytest-2026-11-15f.txt).
This commit is contained in:
lotherk committed 2026-11-15 08:55:53 +00:00
1 parent a5f13cd744
commit 7f764fddc9
1 file changed
+7
+7
View File
@@ -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=$!