From: grev Date: Tue, 6 Nov 2007 23:47:09 +0000 (+0000) Subject: b=13798 X-Git-Tag: v1_8_0_110~1021 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=17d20427882badd4bf8c47db9cc2e5ddac10c8e9;p=fs%2Flustre-release.git b=13798 i=Nathan remove tdir creation from sanity subtests --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 9d3c072..dcfb67a 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -503,7 +503,6 @@ run_test 21 "write to dangling link ============================" test_22() { WDIR=$DIR/$tdir - mkdir $WDIR chown $RUNAS_ID $WDIR (cd $WDIR || error "cd $WDIR failed"; $RUNAS tar cf - /etc/hosts /etc/sysconfig/network | \ @@ -1777,7 +1776,6 @@ test_42d() { run_test 42d "test complete truncate of file with cached dirty data" test_43() { - mkdir $DIR/$tdir cp -p /bin/ls $DIR/$tdir/$tfile exec 100>> $DIR/$tdir/$tfile $DIR/$tdir/$tfile && error || true @@ -3808,7 +3806,6 @@ test_105c() { run_test 105c "lockf when mounted without -o flock test ========" test_106() { #bug 10921 - mkdir $DIR/$tdir || error "mkdir $DIR/$tdir failed" $DIR/$tdir && error "exec $DIR/$tdir succeeded" chmod 777 $DIR/$tdir || error "chmod $DIR/$tdir failed" } @@ -4411,7 +4408,6 @@ test_120a() { [ -z "`grep early_lock_cancel $LPROC/mdc/*/connect_flags`" ] && \ skip "no early lock cancel on server" && return 9 lru_resize_disable - mkdir -p $DIR/$tdir cancel_lru_locks mdc stat $DIR/$tdir > /dev/null can1=`awk '/ldlm_cancel/ {print $2}' $LPROC/ldlm/services/ldlm_canceld/stats` @@ -4429,7 +4425,6 @@ test_120b() { [ -z "`grep early_lock_cancel $LPROC/mdc/*/connect_flags`" ] && \ skip "no early lock cancel on server" && return 9 lru_resize_disable - mkdir -p $DIR/$tdir cancel_lru_locks mdc stat $DIR/$tdir > /dev/null can1=`awk '/ldlm_cancel/ {print $2}' $LPROC/ldlm/services/ldlm_canceld/stats` @@ -4484,7 +4479,6 @@ test_120e() { [ -z "`grep early_lock_cancel $LPROC/mdc/*/connect_flags`" ] && \ skip "no early lock cancel on server" && return 9 lru_resize_disable - mkdir -p $DIR/$tdir dd if=/dev/zero of=$DIR/$tdir/f1 count=1 cancel_lru_locks mdc cancel_lru_locks osc