This repository was archived by the owner on May 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -120,9 +120,10 @@ write_and_update()
120120{
121121 local LID=$1
122122 local update_count=$2
123+ local di_flag=$4
123124
124125 echo " m0cp"
125- $motr_st_util_dir /m0cp -G $MOTR_PARAMS -o $object_id $src_file \
126+ $motr_st_util_dir /m0cp $di_flag $MOTR_PARAMS -o $object_id $src_file \
126127 -s $block_size -c $block_count -L $LID || {
127128 error_handling $? " Failed to copy object"
128129 break
@@ -144,7 +145,7 @@ write_and_update()
144145 break
145146 }
146147 echo " m0cat"
147- $motr_st_util_dir /m0cat -G $MOTR_PARAMS -o $object_id -s $block_size \
148+ $motr_st_util_dir /m0cat $di_flag $MOTR_PARAMS -o $object_id -s $block_size \
148149 -c $block_count -L $LID \
149150 $dest_file ' _' $LID || {
150151 error_handling $? " Failed to read object"
@@ -222,6 +223,7 @@ test_rmw()
222223 create_files $update_count
223224
224225 write_and_update $LID $update_count false
226+ write_and_update $LID $update_count false -G
225227
226228 echo " diff"
227229 diff $src_file ' 2' $dest_file ' _' $LID || {
@@ -239,6 +241,7 @@ test_rmw()
239241 create_files $update_count
240242
241243 write_and_update $LID $update_count true
244+ write_and_update $LID $update_count true -G
242245
243246 echo " diff"
244247 diff $src_file ' 2' $dest_file ' _' $LID || {
You can’t perform that action at this time.
0 commit comments