From f2d0034d14b929e191adcefea0649b2697983d92 Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Mon, 9 Feb 2026 23:26:15 +0100 Subject: [PATCH] Preinstall WasteOfSpace in 'restore on fresh system' scenario --- lib/tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tests.sh b/lib/tests.sh index 6296dd7..14cc7eb 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -589,7 +589,9 @@ TEST_BACKUP_RESTORE() { _PREINSTALL - log_small_title "Restore on a fresh YunoHost system..." + log_small_title "Restore on a (almost)fresh YunoHost system..." + # preinstall lightweight app that uses $data_dir, just to assert proper permission settings + _RUN_YUNOHOST_CMD "app install wasteofspace -a \"domain=$DOMAIN&path=/wasteofspace222&init_main_permission=visitors\"" fi # Restore the application from the previous backup