From 0c32327acfe68737f69705496c31e30eb8ae62a4 Mon Sep 17 00:00:00 2001 From: rread Date: Thu, 10 Oct 2002 01:19:45 +0000 Subject: [PATCH] * new test case (commented out) for bug #620096 --- lustre/tests/runtests | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lustre/tests/runtests b/lustre/tests/runtests index b23cdff..1581fed 100755 --- a/lustre/tests/runtests +++ b/lustre/tests/runtests @@ -24,6 +24,8 @@ SRC=/etc [ "$LCONF" ] || LCONF=$SRCDIR/../utils/lconf +[ "$MCREATE" ] || MCREATE=$SRCDIR/../tests/mcreate + OSCMT="`mount | awk '/ lustre_lite / { print $3 }' | tail -1`" if [ -z "$OSCMT" ]; then [ -z "$*" ] && fail "usage: $0 [--reformat] .xml" 1 @@ -50,6 +52,11 @@ USED=`expr $USED + 16` # Some space for the status file echo "touching $OSCMT" touch $OSCMT || fail "can't touch $OSCMT" 2 HOSTS=$OSCMT/hosts.$$ + +# this will cause the following cp to trigger bug #620096 +#echo "create an empty file $HOSTS" +#$MCREATE $HOSTS + echo "copying /etc/hosts to $HOSTS" cp /etc/hosts $HOSTS || fail "can't cp /etc/hosts to $HOSTS" 3 echo "comparing /etc/hosts and $HOSTS" -- 1.8.3.1