Whamcloud - gitweb
b=14462
authorgrev <grev>
Wed, 19 Dec 2007 20:08:43 +0000 (20:08 +0000)
committergrev <grev>
Wed, 19 Dec 2007 20:08:43 +0000 (20:08 +0000)
i=Adilger
i=Alexey.Lyashkov

error if dd is not started; use tfile instead of tdir

lustre/tests/sanity.sh

index 260c4c4..7bdb056 100644 (file)
@@ -4405,7 +4405,8 @@ test_118k()
        mkdir -p $DIR/$tdir
 
         for ((i=0;i<10;i++)); do
-                dd if=/dev/zero of=$DIR/$tdir/$tdir-$i bs=1M count=10 &
+                (dd if=/dev/zero of=$DIR/$tdir/$tfile-$i bs=1M count=10 || \
+                       error "dd to $DIR/$tdir/$tfile-$i failed" )&
                SLEEPPID=$!
                 sleep 0.500s
                kill $SLEEPPID