We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cafcc0b commit fe951efCopy full SHA for fe951ef
tests/run
@@ -37,6 +37,8 @@ set_up()
37
38
# Initialize git
39
git init -b develop
40
+ git config --local user.email "[email protected]"
41
+ git config --local user.name "GitHub Action"
42
git add . && git commit -m "Initial commit"
43
}
44
@@ -66,21 +68,21 @@ get_hash()
66
68
md5sum "$1" | awk '{print $1}'
67
69
70
-# Begin testing
-set +e
71
-
72
# Verify the tests
73
assert "-d $TESTS" "Unable to locate tests"
74
+# Begin testing
75
for FILE in "$TESTS"/*; do
76
77
NAME=`basename "$FILE"`
78
79
# Start with a clean slate
80
- set_up #> /dev/null 2>&1
+ set_up > /dev/null 2>&1
81
82
# Execute the test
83
+ set +e
84
. $FILE
85
+ set -e
86
87
RESULT=$?
88
if [ $RESULT -ne 0 ]; then
0 commit comments