Commit 0edb6374 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm.sh: detect unrecognized options

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 49a89764
......@@ -454,6 +454,8 @@ Options:
-i : Number of ITERATIONS of dump/restore
-b <commit> : Check backward compatibility
EOF
elif [ "${1:0:1}" = '-' ]; then
echo "unrecognized option $1"
else
if echo $UTS_TEST_LIST | fgrep -qw $1; then
run_test $1 -n uts || case_error $1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment