summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-tests.sh b/run-tests.sh
index 73520894224..9abe0be1121 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -207,7 +207,7 @@ function run_tests()
for t in $(find ${regression_testsdir}/tests -name '*.t' \
| LC_COLLATE=C sort) ; do
- old_cores=$(ls /core.* 2> /dev/null | wc -l)
+ old_cores=$(ls /*-*.core 2> /dev/null | wc -l)
if match $t "$@" ; then
echo
echo "=================================================="
@@ -244,7 +244,7 @@ function run_tests()
RES=${TMP_RES}
FAILED="${FAILED}${t} "
fi
- new_cores=$(ls /core.* 2> /dev/null | wc -l)
+ new_cores=$(ls /*-*.core 2> /dev/null | wc -l)
if [ x"$new_cores" != x"$old_cores" ]; then
core_diff=$((new_cores-old_cores))
echo "$t: $core_diff new core files"