0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-20 12:25:20 +00:00
bird/proto/aggregator/run_test_case.sh
2024-05-30 12:30:00 +02:00

28 lines
448 B
Bash
Executable File

#!/bin/bash
dir_name="trie-test-case"
cd ../..
make all
echo '------------------------'
if [[ ! -e "$dir_name" ]]; then
mkdir "$dir_name"
echo "creating directory '$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: 10.100.0.0/16'