mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-08 22:35:15 +08:00
20 lines
286 B
Bash
Executable File
20 lines
286 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source ./config.sh
|
|
set -uo pipefail
|
|
|
|
SUCCEEDED=0
|
|
for TESTNAME in $(ls test_*); do
|
|
( cd "$__MNT" && ./cleanup.sh )
|
|
echo "Running $TESTNAME"
|
|
"./$TESTNAME"
|
|
RC=$?
|
|
echo "$TESTNAME exit $RC"
|
|
|
|
if [ $RC -ne 0 ]; then
|
|
SUCCEEDED=1
|
|
fi
|
|
done
|
|
|
|
exit $SUCCEEDED
|