Rename config files and database
This commit is contained in:
parent
78f98010aa
commit
b7d3f2ad0b
5 changed files with 5 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,4 +6,4 @@ tests/testing_bak/
|
|||
|
||||
include/sql/*.h
|
||||
|
||||
core.sqlite
|
||||
emgauwa-core.sqlite
|
||||
|
|
|
@ -35,7 +35,7 @@ fi
|
|||
|
||||
echo "Emgauwa controller: $($EMGAUWA_CONTROLLER_EXE --version)"
|
||||
|
||||
$EMGAUWA_CONTROLLER_EXE start -c $source_dir/controller.testing.ini >$working_dir/controller.log 2>&1 &
|
||||
$EMGAUWA_CONTROLLER_EXE start -c $source_dir/emgauwa-controller-testing.ini >$working_dir/controller.log 2>&1 &
|
||||
controller_id=$!
|
||||
|
||||
cd $working_dir
|
||||
|
@ -43,14 +43,13 @@ cd $working_dir
|
|||
touch $working_dir/index.html
|
||||
|
||||
cp $1 $working_dir/core
|
||||
cp $source_dir/core.testing.ini $working_dir/core.ini
|
||||
|
||||
echo "=== invalids start (must exit) ===" >$working_dir/core.log
|
||||
$working_dir/core >>$working_dir/core.log 2>&1
|
||||
$working_dir/core INVALID_ACTION >>$working_dir/core.log 2>&1
|
||||
$working_dir/core -c $source_dir/emgauwa-core-testing-ini >>$working_dir/core.log 2>&1
|
||||
$working_dir/core -c $source_dir/emgauwa-core-testing-ini INVALID_ACTION >>$working_dir/core.log 2>&1
|
||||
|
||||
echo "=== valid start ===" >>$working_dir/core.log
|
||||
valgrind_emgauwa $working_dir/core start >>$working_dir/core.log 2>&1 &
|
||||
valgrind_emgauwa $working_dir/core -c $source_dir/emgauwa-core-testing.ini start >>$working_dir/core.log 2>&1 &
|
||||
core_id=$!
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue