run.sh 202 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/bin/bash set -e code=0 for i in test-*.js; do echo -n $i ... bash setup.sh node $i if [ -d target ]; then echo "fail" code=1 else echo "pass" fi done rm -rf target exit $code