Skip to content

Commit

Permalink
test: add missed 'add' command when showing parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Ming Lei <[email protected]>
  • Loading branch information
ming1 committed Mar 1, 2023
1 parent b435acc commit d13047e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/common/fio_common
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ __run_dev_perf()

DEV=`__create_ublk_dev`

echo -e "\tublk ${T_TYPE_PARAMS}, fio: ($DEV libaio dio io jobs($JOBS))..."
echo -e "\tublk add ${T_TYPE_PARAMS}, fio: ($DEV libaio dio io jobs($JOBS))..."
__run_dev_perf_no_create "ublk" $JOBS $DEV

__remove_ublk_dev $DEV
Expand Down
2 changes: 1 addition & 1 deletion tests/generic/001
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ublk_run_delete_test()
export T_TYPE_PARAMS="-t loop -q $QUEUES -u $URING_COMP -g $NEED_GET_DATA -f $file"

DEV=`__create_ublk_dev`
echo -e "\trun fio on $DEV(ublk $T_TYPE_PARAMS) with deleting dev $CNT"
echo -e "\trun fio on $DEV(ublk add $T_TYPE_PARAMS) with deleting dev $CNT"
__run_fio_libaio $DEV $BS $RW $JOBS $RT > /dev/null 2 >& 1 &
sleep 4
RES=`__remove_ublk_dev_return $DEV`
Expand Down
2 changes: 1 addition & 1 deletion tests/generic/002
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ublk_run_abort_test()
for CNT in `seq $LOOPS`; do
export T_TYPE_PARAMS="-t null -q $QUEUES -u $URING_COMP -g $NEED_GET_DATA"
DEV=`__create_ublk_dev`
echo -e "\trun fio with killing $DEV(ublk $T_TYPE_PARAMS) queue daemon $CNT"
echo -e "\trun fio with killing $DEV(ublk add $T_TYPE_PARAMS) queue daemon $CNT"
__run_fio_libaio $DEV $BS $RW $JOBS $RT > /dev/null 2 >& 1 &
sleep 2
queue_tid=`__ublk_get_queue_tid $DEV 0`
Expand Down
2 changes: 1 addition & 1 deletion tests/generic/004
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ublk_run_delete_test()
export T_TYPE_PARAMS="-t loop -q $QUEUES -u $URING_COMP -g $NEED_GET_DATA -r $RECOVERY -i $RECOVERY_REISSUE -f $file"

DEV=`__create_ublk_dev`
echo -e "\trun fio on $DEV(ublk $T_TYPE_PARAMS) with deleting dev $CNT"
echo -e "\trun fio on $DEV(ublk add $T_TYPE_PARAMS) with deleting dev $CNT"
__run_fio_libaio $DEV $BS $RW $JOBS $RT > /dev/null 2 >& 1 &
sleep 2
queue_tid=`__ublk_get_queue_tid $DEV 0`
Expand Down
2 changes: 1 addition & 1 deletion tests/generic/005
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ublk_run_recover_test()
for CNT in `seq $LOOPS`; do
export T_TYPE_PARAMS="-t $type -q $QUEUES -u $URING_COMP -g $NEED_GET_DATA -r $RECOVERY -i $RECOVERY_REISSUE $backing"
DEV=`__create_ublk_dev`
echo -e "\trun fio with killing $DEV(ublk $T_TYPE_PARAMS) queue daemon $CNT"
echo -e "\trun fio with killing $DEV(ublk add $T_TYPE_PARAMS) queue daemon $CNT"
__run_fio_libaio $DEV $BS $RW $JOBS $RT > /dev/null 2 >& 1 &
sleep 2
pid=`__ublk_get_pid $DEV`
Expand Down
2 changes: 1 addition & 1 deletion tests/generic/006
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ublk_run_recover_kill_test()
for CNT in `seq $LOOPS`; do
export T_TYPE_PARAMS="-t null -q $QUEUES -u $URING_COMP -g $NEED_GET_DATA -r $RECOVERY -i $RECOVERY_REISSUE"
DEV=`__create_ublk_dev`
echo -e "\trun fio with killing $DEV(ublk $T_TYPE_PARAMS) queue daemon $CNT"
echo -e "\trun fio with killing $DEV(ublk add $T_TYPE_PARAMS) queue daemon $CNT"
__run_fio_libaio $DEV $BS $RW $JOBS $RT > /dev/null 2 >& 1 &
sleep 2
pid1=`__ublk_get_pid $DEV`
Expand Down
2 changes: 1 addition & 1 deletion tests/qcow2/040
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ublk_run_abort_test()
for CNT in `seq $LOOPS`; do
export T_TYPE_PARAMS="-t qcow2 -q $QUEUES -u $URING_COMP -g $NEED_GET_DATA -f $file"
DEV=`__create_ublk_dev`
echo -e "\trun fio with killing $DEV(ublk $T_TYPE_PARAMS) with check image integrity $CNT"
echo -e "\trun fio with killing $DEV(ublk add $T_TYPE_PARAMS) with check image integrity $CNT"
__run_fio_libaio $DEV $BS $RW $JOBS $RT > /dev/null 2 >& 1 &
sleep 2
queue_tid=`__ublk_get_queue_tid $DEV 0`
Expand Down

0 comments on commit d13047e

Please sign in to comment.