Commit dcb5cc73 authored by YannGarcia's avatar YannGarcia
Browse files

Add vagrant specific script

parent 9f24fd7c
......@@ -8,7 +8,7 @@
# TODO Use git clone in temporary directory
USER_NAME='s/vagrant/etsi/g'
for i in `find /home/etsi/dev/TTF0002_Its -name "*.cf*"`
for i in `find /home/etsi/dev/$1_Its -name "*.cf*"`
do
sed --in-place ${USER_NAME} $i
done
......
......@@ -26,10 +26,6 @@ cp ./ttcn/patch_lib_common_titan/*.ttcn ./ttcn/LibCommon/ttcn
cp ./ttcn/patch_lib_http/*.ttcn ./ttcn/LibIts/ttcn/Http/
cp ./ttcn/patch_lib_its/module.mk ./ttcn/LibIts/
echo -e "*****************************\n* Change user in cfg files\n*****************************\n"
cd ${HOME}/dev/TTF_T012_Mec/scripts || exit 1
./update_user_name.sh || exit 1
echo -e "*****************************\n* Build Mec test suite\n*****************************\n"
export ATS=AtsMec
make
......
......@@ -168,6 +168,10 @@ cd /home/vagrant/dev/TTF012_Mec
export ATS=AtsMec
make
# Change user in cfg files
cd ${HOME}/dev/TTF012_Mec/scripts
./update_user_name.sh TTF012_Mec
# Update configuration file
cd ./etc/AtsMec
ln -sf AtsMec_Sandbox.cf_ AtsMec.cfg
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment