0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-13 22:58:42 +00:00
bird/proto/aggregator/run_test_case.sh
2024-05-30 12:30:00 +02:00

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'