From: braam Date: Thu, 5 Dec 2002 09:41:46 +0000 (+0000) Subject: - small but subtle changes X-Git-Tag: v1_7_100~1^90~124 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d978a82fa3dda14861b11b1b622c2de201f982d4;p=fs%2Flustre-release.git - small but subtle changes - kernel patch changed to deal with rename issues - remove old rename cruft from dcache.c - save second intent for RENAME and LINK not the first - add 10 rename tests to sanity.sh - add non root user test to sanity.sh - add 4 tests to sanityN.sh for multimount point tests - allow reiserfs OST's to be used. They actually appear to work! --- diff --git a/lustre/tests/sanityN.sh b/lustre/tests/sanityN.sh index 0b575a9..1af967b 100644 --- a/lustre/tests/sanityN.sh +++ b/lustre/tests/sanityN.sh @@ -24,12 +24,12 @@ touch /mnt/lustre1/f1 [ -f /mnt/lustre2/f1 ] || error "test 1 failure" echo "pass" -echo "test 2: check attribute updates on 2 mtpt's..." +echo -n "test 2: check attribute updates on 2 mtpt's..." chmod a+x /mnt/lustre2/f1 [ -x /mnt/lustre1/f1 ] || error "test 2 failure" echo "pass" -echo "test 3: check after remount attribute updates on 2 mtpt's..." +echo -n "test 3: check after remount attribute updates on 2 mtpt's..." chmod a-x /mnt/lustre2/f1 $CLEAN $START @@ -37,7 +37,15 @@ $START [ ! -x /mnt/lustre1/f1 ] || error "test 3 failure" echo "pass" +echo -n "test 4: symlink on one mtpt, readlink on another..." +( cd /mnt/lustre1 ; ln -s this/is/good lnk ) + +[ "Xthis/is/good" = X`perl -e 'print readlink("/mnt/lustre2/lnk");'` ] || error "test 4 fails" +echo "pass" + $CLEAN $START + + exit