mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-10 21:28:43 +00:00
31 lines
509 B
Bash
Executable File
31 lines
509 B
Bash
Executable File
#!/bin/bash
|
|
|
|
dir_name="aggregator-test-case"
|
|
|
|
cd ../..
|
|
make all
|
|
echo '------------------------'
|
|
|
|
if [[ ! -e "$dir_name" ]]; then
|
|
mkdir "$dir_name"
|
|
echo "creating directory 'bird/$dir_name'"
|
|
fi
|
|
|
|
cp ./bird ./"$dir_name"
|
|
echo 'copying bird executable'
|
|
|
|
cp ./birdc ./"$dir_name"
|
|
echo 'copying birdc executable'
|
|
|
|
cp ./proto/aggregator/bird.conf ./"$dir_name"
|
|
echo 'copying bird.conf'
|
|
|
|
cd "$dir_name"
|
|
|
|
echo 'done'
|
|
echo
|
|
echo 'expected result:'
|
|
echo '====THIRD PASS===='
|
|
echo '0.0.0.0/0'
|
|
echo '10.100.0.0/16'
|