github.com/kubeshop/testkube@v1.17.23/contrib/executor/init/pkg/runner/testdir/entrypoint.sh (about) 1 #!/bin/sh 2 "testdir/prerun.sh" 3 prerun_exit_code=$? 4 if [ $prerun_exit_code -ne 0 ]; then 5 exit $prerun_exit_code 6 fi 7 "testdir/command.sh" $@ 8 command_exit_code=$? 9 "testdir/postrun.sh" 10 postrun_exit_code=$? 11 if [ $command_exit_code -ne 0 ]; then 12 exit $command_exit_code 13 fi 14 exit $postrun_exit_code