Skip to content
Snippets Groups Projects
Commit d7c5b3cf authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=16209

i=Adilger
i=Robert.Read
test_14 fix: use multiop instead of exec
parent a89e26a4
No related branches found
No related tags found
No related merge requests found
......@@ -254,11 +254,14 @@ test_13() { # bug 2451 - directory coherency
run_test 13 "test directory page revocation ===================="
test_14() {
mkdir $DIR1/d14
cp -p /bin/ls $DIR1/d14/ls
exec 100>> $DIR1/d14/ls
$DIR2/d14/ls && error || true
exec 100<&-
mkdir -p $DIR1/$tdir
cp -p /bin/ls $DIR1/$tdir/$tfile
multiop_bg_pause $DIR1/$tdir/$tfile Ow_c || return 1
MULTIPID=$!
$DIR2/$tdir/$tfile && error || true
kill -USR1 $MULTIPID
wait $MULTIPID || return 2
}
run_test 14 "execution of file open for write returns -ETXTBSY ="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment