Commit 0417b387 authored by anonym's avatar anonym
Browse files

Tests: fix test so it works for RCs too.

For RCs (and alphas/betas) we ship /etc/os-release with
TAILS_CHANNEL="alpha" so the old instruction (simple append) would
result in two TAILS_CHANNEL entries. It happens to be the case that
Tails Upgrader will use only the first entry it encounters and ignore
any additional ones, so the old instructions will make us stay on the
"alpha" channel.
parent 9dfba67e
......@@ -238,7 +238,8 @@ tracked by tickets prefixed with `todo/test_suite:`.
then:
echo 'TAILS_CHANNEL="test"' | sudo tee --append /etc/os-release && \
sudo sh -c 'sed -i /^TAILS_CHANNEL=/d /etc/os-release &&
echo TAILS_CHANNEL=\"test\" >> /etc/os-release' && \
tails-upgrade-frontend-wrapper
Else, use a local test setup:
......
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