diff --git a/lustre/tests/runtests b/lustre/tests/runtests index d49738b376e163ab2c69bbbaadfb431272b26728..89e23d8ccd573646769dc8164b8e15c221026f91 100755 --- a/lustre/tests/runtests +++ b/lustre/tests/runtests @@ -31,7 +31,7 @@ log() { ERROR= -SRC=/etc +SRC="/etc /bin" [ "$COUNT" ] || COUNT=1000 [ "$MCREATE" ] || MCREATE=mcreate @@ -100,7 +100,7 @@ mkdir $DST || fail "can't mkdir $DST" 10 # ok, that hopefully worked, so let's do a little more, with files that # haven't changed in the last day (hopefully they don't change during test) -FILES=`find $SRC -type f -mtime +1 -ctime +1 | head -n $COUNT` +FILES=`find $SRC -type f -mtime +1 | head -n $COUNT` [ -z "$FILES" ] && fail "No unchanged files - is $SRC a new dir?" log "copying files from $SRC to $DST$SRC at `date`"