0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-10 13:18:42 +00:00
bird/proto/aggregator/run_test_case.sh

31 lines
509 B
Bash
Raw Normal View History

2023-12-05 14:13:06 +00:00
#!/bin/bash
2023-12-06 09:44:15 +00:00
dir_name="aggregator-test-case"
2023-12-05 14:13:06 +00:00
cd ../..
make all
echo '------------------------'
if [[ ! -e "$dir_name" ]]; then
mkdir "$dir_name"
2023-12-06 09:44:15 +00:00
echo "creating directory 'bird/$dir_name'"
2023-12-05 14:13:06 +00:00
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
2023-12-06 09:44:15 +00:00
echo 'expected result:'
echo '====THIRD PASS===='
echo '0.0.0.0/0'
echo '10.100.0.0/16'