summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
be96469)
i=Nathan
test_43: change exec to multiop
test_43() {
cp -p /bin/ls $DIR/$tdir/$tfile
test_43() {
cp -p /bin/ls $DIR/$tdir/$tfile
- exec 9>> $DIR/$tdir/$tfile
+ multiop $DIR/$tdir/$tfile Ow_c &
+ pid=$!
+ # give multiop a chance to open
+ sleep 1
+
$DIR/$tdir/$tfile && error || true
$DIR/$tdir/$tfile && error || true
}
run_test 43 "execution of file opened for write should return -ETXTBSY"
}
run_test 43 "execution of file opened for write should return -ETXTBSY"