Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup check_logs feature.
[rsync/rsync.git]
/
runtests.sh
diff --git
a/runtests.sh
b/runtests.sh
index
1026d05
..
c27afda
100755
(executable)
--- a/
runtests.sh
+++ b/
runtests.sh
@@
-118,8
+118,9
@@
then
exit 2
fi
exit 2
fi
+RSYNC="$rsync_bin"
-export rsync_bin
+export rsync_bin
RSYNC
skipped=0
missing=0
skipped=0
missing=0
@@
-129,8
+130,9
@@
failed=0
scratchdir=./testtmp
[ -d "$scratchdir" ] && rm -r "$scratchdir"
mkdir "$scratchdir"
scratchdir=./testtmp
[ -d "$scratchdir" ] && rm -r "$scratchdir"
mkdir "$scratchdir"
-
+scratchdir=`cd $scratchdir && pwd`
echo " scratchdir=$scratchdir"
echo " scratchdir=$scratchdir"
+
suitedir="$srcdir/testsuite"
export scratchdir suitedir
suitedir="$srcdir/testsuite"
export scratchdir suitedir
@@
-145,8
+147,7
@@
do
continue
fi
continue
fi
- echo "------------------------------------------------------------"
- echo "----- $testbase running"
+ echo "----- $testbase starting"
if sh $RUNSHFLAGS "$testscript"
then
if sh $RUNSHFLAGS "$testscript"
then
@@
-161,6
+162,7
@@
do
*)
echo "----- $testbase failed!"
failed=`expr $failed + 1`
*)
echo "----- $testbase failed!"
failed=`expr $failed + 1`
+ [ "$nopersist" = "yes" ] && exit 1
esac
fi
done
esac
fi
done