core-legacy/tests/run_tests.sh
Tobias Reisinger b5a8523ae0 add: tests
add: schedule endpoints
2020-05-05 22:29:04 +02:00

17 lines
222 B
Bash
Executable file

#!/usr/bin/env sh
mkdir ./testing_tmp
cd ./testing_tmp
cp $1 ./core
cp $2 ./core.ini
./core start >/dev/null 2>&1 &
core_id=$!
sleep 2;
tavern-ci --tavern-beta-new-traceback ..
kill $core_id
cd ..
rm -r ./testing_tmp