summaryrefslogtreecommitdiff
path: root/mysql-test/suite/parts/r
diff options
context:
space:
mode:
authorShunpoco <tkngsnsk313320@gmail.com>2022-04-11 22:43:02 +0900
committerDaniel Black <daniel@mariadb.org>2022-04-12 08:17:32 +1000
commit767d8d8335f9d45efb86c77a9efa0b42aff1eb27 (patch)
treea2c0c357244f694952fa6e757476ba56f391a70a /mysql-test/suite/parts/r
parent833f4486cf7c9858e1f6d2e2deeded6d43fd4e21 (diff)
downloadmariadb-git-767d8d8335f9d45efb86c77a9efa0b42aff1eb27.tar.gz
MDEV-27448 MTR returns success (zero) upon invalid option
I change from `exit;` to `exit(1);` on a function `usage()`. When we try to run mtr with a wrong option, a function `usage()` is called with the wrong option as its argument. In this case, because the function call `exit` in a first if statement, we get exit status 0.
Diffstat (limited to 'mysql-test/suite/parts/r')
0 files changed, 0 insertions, 0 deletions