18 lines
203 B
Bash
18 lines
203 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
mkdir ./testing_tmp
|
||
|
cd ./testing_tmp
|
||
|
|
||
|
cp $1 ./core
|
||
|
cp $2 ./config.json
|
||
|
|
||
|
./core &
|
||
|
core_id=$!
|
||
|
|
||
|
sleep 2;
|
||
|
|
||
|
tavern-ci --tavern-beta-new-traceback ..
|
||
|
kill $core_id
|
||
|
cd ..
|
||
|
rm -r ./testing_tmp
|