github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/examples/tests.sh (about)

     1  #!/bin/bash
     2  
     3  testlist=`find -L "$@" -type f -executable -name test.sh`
     4  
     5  for test in $testlist
     6  do
     7      cd $(dirname $test)
     8      echo "${test}"
     9      ./test.sh
    10      cd ..
    11  done