+Fri Jun 16 16:57:24 EDT 1995 Paul Park (pjpark@mit.edu)
+ * run.test - Remove argument processing loop and only do the first one
+ because Ultrix' /bin/sh5 is lame.
+
+
Tue Jun 13 16:00:18 EDT 1995 Paul Park (pjpark@mit.edu)
* dbtest.c - Check for HAVE_INDEX. If we have it, then use it,
otherwise use strchr.
test$t
done
else
- while [ $# -gt 0 ]
- do case "$1" in
+ if [ $# -gt 0 ]
+ then
+ case "$1" in
test*)
$1;;
[0-9]*)
echo "usage: run.test test# | type"
exit 1
esac
- shift
- done
+ fi
fi
rm -f $TMP1 $TMP2 $TMP3
exit 0
{
echo "Test 3: hash: small key, big data pairs"
rm -f $TMP1
- (find /bin -type f -print | xargs cat) > $TMP1
+ (find /bin -type f -perm -0444 -print | xargs cat) > $TMP1
for type in hash; do
rm -f $TMP2 $TMP3
- for i in `find /bin -type f -print`; do
+ for i in `find /bin -type f -perm -0444 -print`; do
echo p
echo k$i
echo D$i
done
}
+set +e
main $*