Signed-off-by: Lu Kaiyi 2392863668@qq.com --- tests/iozone | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tests/iozone b/tests/iozone index bafc0087..5186766f 100755 --- a/tests/iozone +++ b/tests/iozone @@ -47,6 +47,9 @@ if [ -n "$block_size" ]; then ;; "preadv") args+=" -i 12" ;; + *) echo "invalid test option, please check again!" + exit 1 + ;; esac done else
On Wed, Nov 25, 2020 at 09:15:57AM +0800, Lu Kaiyi wrote:
Signed-off-by: Lu Kaiyi 2392863668@qq.com
tests/iozone | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tests/iozone b/tests/iozone index bafc0087..5186766f 100755 --- a/tests/iozone +++ b/tests/iozone @@ -47,6 +47,9 @@ if [ -n "$block_size" ]; then ;; "preadv") args+=" -i 12" ;;
*) echo "invalid test option, please check again!"
exit 1
^Please note the format Thanks sunyukui
esac done;;
else
2.23.0
On Wed, Nov 25, 2020 at 09:15:57AM +0800, Lu Kaiyi wrote:
Signed-off-by: Lu Kaiyi 2392863668@qq.com
tests/iozone | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tests/iozone b/tests/iozone index bafc0087..5186766f 100755 --- a/tests/iozone +++ b/tests/iozone @@ -47,6 +47,9 @@ if [ -n "$block_size" ]; then ;; "preadv") args+=" -i 12" ;;
*) echo "invalid test option, please check again!"
exit 1
May be echo "xxxx" && exit 1
Thanks, Baijing
esac done;;
else
2.23.0
Please Add changelog to explain your change.
Thanks, Zhangyu
On Wed, Nov 25, 2020 at 09:15:57AM +0800, Lu Kaiyi wrote:
Signed-off-by: Lu Kaiyi 2392863668@qq.com
tests/iozone | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tests/iozone b/tests/iozone index bafc0087..5186766f 100755 --- a/tests/iozone +++ b/tests/iozone @@ -47,6 +47,9 @@ if [ -n "$block_size" ]; then ;; "preadv") args+=" -i 12" ;;
*) echo "invalid test option, please check again!"
exit 1
esac done;;
else
2.23.0