From 2d9446c0244c10d63a62cebbb97b13f835af53c2 Mon Sep 17 00:00:00 2001 From: yury Date: Mon, 9 Oct 2006 12:21:43 +0000 Subject: [PATCH] - fixed to sanity-lmv.sh, we can't use find for that due to "Value is too big" --- lustre/tests/sanity-lmv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 1.8.3.1