Skip to content

Commit dc7df57

Browse files
ndavies-om1pgrange
authored andcommitted
further cleanup
1 parent 753da37 commit dc7df57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bash_unit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ run_tests() {
254254
local tests_to_run="$(set | "$GREP" -E '^test.* \(\)' | "$GREP" -E "$test_pattern" | "$SED" -e 's: .*::' | maybe_shuffle)"
255255
fi
256256

257-
test_count=$(cat $TEMPFILE)
257+
test_count=$(cat "${TEMPFILE}")
258258
for test in $tests_to_run
259259
do
260260
(
@@ -267,7 +267,7 @@ run_tests() {
267267
failure=$(( $? || failure))
268268
((test_count++))
269269
done
270-
echo "${test_count}" > $TEMPFILE
270+
echo "${test_count}" > "${TEMPFILE}"
271271

272272
return $failure
273273
}
@@ -547,7 +547,7 @@ fi
547547

548548
#run tests received as parameters
549549
failure=0
550-
echo 0 > $TEMPFILE
550+
echo 0 > "${TEMPFILE}"
551551
for test_file in "$@"
552552
do
553553
notify_suite_starting "$test_file"

0 commit comments

Comments
 (0)