Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8af32
)
b=13974
author
grev
<grev>
Wed, 21 Nov 2007 10:24:03 +0000
(10:24 +0000)
committer
grev
<grev>
Wed, 21 Nov 2007 10:24:03 +0000
(10:24 +0000)
i=Nathan
test_43: change exec to multiop
lustre/tests/sanity.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
5315968
..
22c2075
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-1777,9
+1777,13
@@
run_test 42d "test complete truncate of file with cached dirty data"
test_43() {
cp -p /bin/ls $DIR/$tdir/$tfile
- exec 100>> $DIR/$tdir/$tfile
+ multiop $DIR/$tdir/$tfile Ow_c &
+ pid=$!
+ # give multiop a chance to open
+ sleep 1
+
$DIR/$tdir/$tfile && error || true
- exec 100<&-
+ kill -USR1 $pid
}
run_test 43 "execution of file opened for write should return -ETXTBSY"