Skip to content

Commit 055115b

Browse files
authored
move check to after setting up the compat layer
Co-authored-by: Lara Ramona Peeters <49882639+laraPPr@users.noreply.github.com>
1 parent 3836592 commit 055115b

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

run_tests.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
base_dir=$(dirname $(realpath $0))
1818
source ${base_dir}/init/eessi_defaults
1919

20-
echo "DEBUG"
21-
getent hosts github.com
22-
nslookup github.com
23-
host github.com
24-
python -c "import socket; print(socket.gethostbyname('github.com'))"
25-
ping nameserver 10.141.10.246
26-
cat /etc/resolv.conf
27-
2820
# Make sure we clone the latest version. This assumes versions are of the format "v1.2.3", then picks the latest
2921
# then checks it out
3022
TEST_CLONE="git clone https://github.com/EESSI/test-suite EESSI-test-suite && cd EESSI-test-suite"
@@ -33,6 +25,12 @@ CHECKOUT_LATEST="git checkout \${VERSION}"
3325

3426
# Git clone has to be run in compat layer, to make the git command available
3527
./run_in_compat_layer_env.sh "${TEST_CLONE} && ${LATEST_VERSION} && ${CHECKOUT_LATEST}"
36-
28+
echo "DEBUG"
29+
getent hosts github.com
30+
nslookup github.com
31+
host github.com
32+
python -c "import socket; print(socket.gethostbyname('github.com'))"
33+
ping nameserver 10.141.10.246
34+
cat /etc/resolv.conf
3735
# Run the test suite
3836
./test_suite.sh "$@"

0 commit comments

Comments
 (0)