From: grev Date: Thu, 11 Oct 2007 21:27:13 +0000 (+0000) Subject: b=13599 X-Git-Tag: v1_8_0_110~1119 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b4e183cbccf92ecf9d27f201497bfcf1c7bf4f72;p=fs%2Flustre-release.git b=13599 i=Nathan i=Scjody use multiop instead of exec --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 3c0088f..e6720b1 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -454,9 +454,10 @@ test_20b() { # bug 10480 run_test 20b "write, unlink, eviction, replay, (test mds_cleanup_orphans)" test_20c() { # bug 10480 - dd if=/dev/zero of=$DIR/$tfile bs=4k count=10000 - - exec 100< $DIR/$tfile + multiop $DIR/$tfile Ow_c & + pid=$! + # give multiop a chance to open + sleep 1 ls -la $DIR/$tfile @@ -464,8 +465,7 @@ test_20c() { # bug 10480 df -P $DIR || df -P $DIR || true # reconnect - exec 100<&- - + kill -USR1 $pid test -s $DIR/$tfile || error "File was truncated" return 0