From: yury Date: Mon, 9 Oct 2006 12:21:43 +0000 (+0000) Subject: - fixed to sanity-lmv.sh, we can't use find for that due to "Value is too big" X-Git-Tag: v1_8_0_110~486^2~629 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=2d9446c0244c10d63a62cebbb97b13f835af53c2;p=fs%2Flustre-release.git - fixed to sanity-lmv.sh, we can't use find for that due to "Value is too big" --- diff --git a/lustre/tests/sanity-lmv.sh b/lustre/tests/sanity-lmv.sh index 4188987..1a20243 100644 --- a/lustre/tests/sanity-lmv.sh +++ b/lustre/tests/sanity-lmv.sh @@ -239,7 +239,7 @@ run_test 1a " remove splitted dir =============================" test_1b() { mkdir $DIR/1b0 || error createmany -o $DIR/1b0/f 4000 - find $DIR/1b0 -type f | xargs rm -f + for file in $DIR/1b0/*; do rm -f $file; done NUM=`ls $DIR/1b0 | wc -l` if [ $NUM -ne 0 ] ; then echo "dir must be empty" @@ -269,7 +269,7 @@ run_test 1b " remove splitted dir =============================" test_1c() { mkdir $DIR/1b1 || error createmany -o $DIR/1b1/f 4000 - find $DIR/1b1 -type f | xargs rm -f + for file in $DIR/1b1/*; do rm -f $file; done NUM=`ls $DIR/1b1 | wc -l` if [ $NUM -ne 0 ] ; then echo "dir must be empty"