version 1.1, 2012/02/17 15:09:30
|
version 1.1.1.2, 2013/10/14 07:51:14
|
Line 232 echo " scratchbase=$scratchbase"
|
Line 232 echo " scratchbase=$scratchbase"
|
[ -d "$scratchbase" ] || mkdir "$scratchbase" |
[ -d "$scratchbase" ] || mkdir "$scratchbase" |
|
|
suitedir="$srcdir/testsuite" |
suitedir="$srcdir/testsuite" |
|
TESTRUN_TIMEOUT=300 |
|
|
export scratchdir suitedir | export scratchdir suitedir TESTRUN_TIMEOUT |
|
|
prep_scratch() { |
prep_scratch() { |
[ -d "$scratchdir" ] && chmod -R u+rwX "$scratchdir" && rm -rf "$scratchdir" |
[ -d "$scratchdir" ] && chmod -R u+rwX "$scratchdir" && rm -rf "$scratchdir" |
Line 264 do
|
Line 265 do
|
|
|
prep_scratch |
prep_scratch |
|
|
|
case "$testscript" in |
|
*hardlinks*) TESTRUN_TIMEOUT=600 ;; |
|
*) TESTRUN_TIMEOUT=300 ;; |
|
esac |
|
|
set +e |
set +e |
sh $RUNSHFLAGS "$testscript" >"$scratchdir/test.log" 2>&1 | "$TOOLDIR/"testrun $RUNSHFLAGS "$testscript" >"$scratchdir/test.log" 2>&1 |
result=$? |
result=$? |
set -e |
set -e |
|
|