Commit dcb5cc73 authored by YannGarcia's avatar YannGarcia
Browse files

Add vagrant specific script

parent 9f24fd7c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+0 −4
Original line number Diff line number Diff line
@@ -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
+4 −0
Original line number Diff line number Diff line
@@ -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