Change
910bf010 inadvertantly broke liblustre because cio->cui_tot_nregs
was not initilized, and ccc_io_update_iov was setting cui_nregs
incorrectly.
i=eric.mei
i=yong.fan
/* XXX this is not right: cio->cui_iov can be modified. */
cio->cui_iov = (struct iovec *)iovec;
cio->cui_nrsegs = iovlen;
+ cio->cui_tot_nrsegs = iovlen;
sio->sio_session = session;
err = cl_io_loop(env, io);
} else {
skip "$LIBLUSTRETESTS/sanity: not found"
else
mkdir -p $MOUNT2
+ echo $LIBLUSTRETESTS/sanity --target=$LIBLUSTRE_MOUNT_TARGET
$LIBLUSTRETESTS/sanity --target=$LIBLUSTRE_MOUNT_TARGET
if [ "$LIBLUSTRE_EXCEPT" ]; then
LIBLUSTRE_OPT="$LIBLUSTRE_OPT \
fi
}
run_test 1 "liblustre sanity"
+
+banner "test complete, cleaning up"
+check_and_cleanup_lustre
+[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG && grep -q FAIL $TESTSUITELOG && exit 1 || true
(($# > 0)) && shift 2
# Ensure we have accept=all for lnet
- if [ $module = lnet ]; then
+ if [ $(basename $module) = lnet ]; then
# OK, this is a bit wordy...
local arg accept_all_present=false
for arg in "$@"; do