Skip to content

Commit dadab4a

Browse files
authored
move the DEBUG messages
Co-authored-by: Lara Ramona Peeters <49882639+laraPPr@users.noreply.github.com>
1 parent e7a4e16 commit dadab4a

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

run_tests.sh

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,10 @@ source ${base_dir}/init/eessi_defaults
2222
TEST_CLONE="git clone https://github.com/EESSI/test-suite EESSI-test-suite && cd EESSI-test-suite"
2323
LATEST_VERSION="VERSION=\$(git tag | grep '^v[0-9]\+\.[0-9]\+\.[0-9]\+$' | sort -t. -k 1,1n -k 2,2n -k 3,3n | tail -n 1)"
2424
CHECKOUT_LATEST="git checkout \${VERSION}"
25+
DEBUG="getent hosts github.com && echo && echo DEBUG && git ls-remote https://github.com/EESSI/test-suite/"
2526

2627
# Git clone has to be run in compat layer, to make the git command available
27-
./run_in_compat_layer_env.sh "${TEST_CLONE} && ${LATEST_VERSION} && ${CHECKOUT_LATEST}"
28-
echo "DEBUG"
29-
getent hosts github.com
28+
./run_in_compat_layer_env.sh "${DEBUG} && ${TEST_CLONE} && ${LATEST_VERSION} && ${CHECKOUT_LATEST}"
3029

31-
echo "=== HTTPS test ==="
32-
curl -I https://github.com
33-
34-
echo "=== Proxy env ==="
35-
env | grep -i proxy
36-
37-
echo "=== Git proxy config ==="
38-
git config --list | grep proxy
39-
40-
echo "=== Git remote test ==="
41-
git ls-remote https://github.com/EESSI/test-suite/ || true
42-
cat /etc/resolv.conf
4330
# Run the test suite
4431
./test_suite.sh "$@"

0 commit comments

Comments
 (0)