container: Show executed commands when setting up/running tests

- This allows the user to understand the wrapper script and skip/adapt it when
necessary.

- Debug any issues with the script.

- Maintain consistency with the philosophy of the rest of the container script.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2022-04-30 11:03:55 -07:00
parent 675dfb9444
commit c10b10aa31
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 3 additions and 1 deletions

View File

@ -180,6 +180,8 @@ exit 0
'''
SETUP_AND_RUN_TESTS_SCRIPT = '''
set -x
BACKPORTS_SOURCES_LIST=/etc/apt/sources.list.d/freedombox2.list
LDAPSCRIPTS_CONF=/etc/ldapscripts/freedombox-ldapscripts.conf

View File

@ -1,5 +1,5 @@
#!/bin/bash
set -euo pipefail
set -xeuo pipefail
IFS=$'\n\t'
echo "Installing requirements"