github.com/datadog/cilium@v1.6.12/tests/run-tests (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  set -o pipefail
     5  
     6  # Set path to contain Go binaries explicitly; see issue 566.
     7  export PATH=$PATH:/usr/local/go/bin:/home/vagrant/go/bin:/home/vagrant/bin
     8  export TEST_SUITE="runtime-tests"
     9  mkdir -p ./cilium-files
    10  
    11  for test in *.sh; do
    12  	file=$(basename $test)
    13  	filename="${file%.*}"
    14          mkdir -p ./cilium-files/"${filename}"
    15  	echo "#################################################"
    16  	echo
    17  	echo
    18  	echo
    19  	echo "Starting test $test"
    20  	echo
    21  	echo
    22  	echo
    23  	./$test | tee ./cilium-files/"${filename}"/output.txt
    24  	echo
    25  	echo
    26  	echo
    27  	echo "Finished test $test"
    28  	echo
    29  	echo
    30  	echo
    31  	echo "#################################################"
    32  done