Whamcloud - gitweb
Branch HEAD
authorbobijam <bobijam>
Mon, 13 Apr 2009 06:26:21 +0000 (06:26 +0000)
committerbobijam <bobijam>
Mon, 13 Apr 2009 06:26:21 +0000 (06:26 +0000)
b=16417

sleep some time before getting 'lfs df' value.

lustre/tests/sanityN.sh

index ec17a49..7f22445 100644 (file)
@@ -896,6 +896,7 @@ test_36() { #bug 16417
         local before=$($LFS df | awk '{if ($1 ~/^filesystem/) {print $5; exit} }')
         dd if=/dev/zero of=$DIR1/$tdir/file000 bs=1M count=$SIZE
         sync
+        sleep 1
         local after_dd=$($LFS df | awk '{if ($1 ~/^filesystem/) {print $5; exit} }')
         multiop_bg_pause $DIR2/$tdir/file000 O_r${SIZE_B}c || return 3
         read_pid=$!