From d978a82fa3dda14861b11b1b622c2de201f982d4 Mon Sep 17 00:00:00 2001 From: braam Date: Thu, 5 Dec 2002 09:41:46 +0000 Subject: [PATCH] - 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! --- lustre/tests/sanityN.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 -- 1.8.3.1