b792c45921
* add msyql backend test Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
19 lines
326 B
Bash
Executable file
19 lines
326 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
#shellcheck disable=SC1007
|
|
THIS_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|
cd "${THIS_DIR}"
|
|
|
|
case "$DB_BACKEND" in
|
|
sqlite)
|
|
./instance-sqlite "$@"
|
|
;;
|
|
mysql)
|
|
./instance-mysql "$@"
|
|
;;
|
|
*)
|
|
echo >&2 "unknown $DB_BACKEND"
|
|
exit 1
|
|
;;
|
|
esac;
|