9 commits: 6 unchanged, 1 rewritten, 2 added.
4 unchanged commits
@@ Commit message
caches root's builds had filled. lib.sh opens the directory to git when
it runs as root and git exists, and restore_into restores into a new
forge with its pages and caches inside it, as a new host has, so git
- owns them once forge restore has chowned it. The six scenarios that
+ owns them once forge restore has chowned it. The seven scenarios that
restore use it. Nothing changes for a normal user: restore finishes as
them, as before.
@@ test/scenarios/private-backup.sh: exists "$st/dami/open.git/git-daemon-export-ok
exists "$r/dami/open.git/git-daemon-export-ok"
eq "$(cat "$r/dami/secret.git/forge/readers")" ana
+ ## test/scenarios/release-private-store-backup.sh ##
+@@ test/scenarios/release-private-store-backup.sh: missing "$st/.forge/store"
+ exists "$st/dami/secret.git/HEAD"
+
+ r=$T/restored
+-ok env FORGE_ROOT="$r" FORGE_WWW="$r/.forge/www" FORGE_CACHE="$T/cache2" "$FORGE" restore --from "$st"
++ok restore_into "$r" --from "$st"
+ inode() { ls -i "$1" | awk '{ print $1 }'; }
+ dl=dami/secret/releases/download
+ ok cmp "$T/f/tool" "$r/.forge/private/store/$secret/tool"
+
## test/scenarios/release-restore.sh ##
st=$FORGE_ROOT/.forge/backup/stage