Commit 37e48b60 authored by boyska's avatar boyska
Browse files

doc about testing persistence-setup: clarify pwd

They are not run from root directory, now the code blocks are more
copy-pastable. Also, the wording is hopefully a bit clearer.
parent 818ad0cf
......@@ -2,7 +2,9 @@
[[!toc levels=1]]
Everything on this page happens in the
Persistence-setup is not currently integrated with `run-test-suite`.
To run it, follow this instructions, making sure that you are in the
`config/chroot_local-includes/usr/src/persistence-setup` directory.
Pre-requisites
......@@ -19,7 +21,8 @@ Pre-requisites
Install test dependencies
=========================
cat $(git rev-parse --show-toplevel)/config/chroot_local-packageslists/tails-persistence-setup.list \
cd "$(git rev-parse --show-toplevel)/config/chroot_local-includes/usr/src/persistence-setup"
cat "$(git rev-parse --show-toplevel)/config/chroot_local-packageslists/tails-persistence-setup.list" \
| grep -E -v '^#' \
| xargs sudo apt --yes install && \
sudo apt install \
......@@ -31,6 +34,7 @@ Install test dependencies
Run the test suite
==================
cd "$(git rev-parse --show-toplevel)/config/chroot_local-includes/usr/src/persistence-setup"
PERL5LIB="${TAILS_GIT_CHECKOUT}/config/chroot_local-includes/usr/src/perl5lib/lib" \
RELEASE_TESTING=1 \
LC_ALL=C \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment