-
Notifications
You must be signed in to change notification settings - Fork 0
/
script_https.sh
67 lines (46 loc) · 1.31 KB
/
script_https.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
cd
./scripts/cargar_ld.sh
# Clonar repos
git clone https://www.github.com/sisoputnfrba/linuse-tests-programs
git clone https://www.github.com/sisoputnfrba/hilolay
git clone https://www.github.com/sisoputnfrba/so-commons-library
# Cambiar makefile para que usen -llibmuse
sudo cp $HOME/tp-2019-2c-SOS/makefile-pruebas $HOME/linuse-tests-programs/Makefile
sudo cp $HOME/tp-2019-2c-SOS/memoria/libmuse/libmuse/libmuse.h $HOME/linuse-tests-programs/libmuse.h
sudo cp $HOME/tp-2019-2c-SOS/memoria/pruebas_con_path/estres_privado.c $HOME/linuse-tests-programs/estres_privado.c
sudo cp $HOME/tp-2019-2c-SOS/memoria/pruebas_con_path/revolucion_privada.c $HOME/linuse-tests-programs/revolucion_privada.c
cd so-commons-library
sudo make install
cd $HOME
cd hilolay
sudo make install
cd $HOME
cd linuse-tests-programs
sudo make
sudo make entrega
cd $HOME
cd tp-2019-2c-SOS/SUSE/Debug
sudo make
cd $HOME
cd tp-2019-2c-SOS/libSUSE/Debug
sudo make clean install
cd $HOME
cd tp-2019-2c-SOS/scripts
./build_muse.sh
./install_libmuse.sh
cd $HOME
cd tp-2019-2c-SOS/common/Debug
sudo make clean
sudo make
cd $HOME
cd tp-2019-2c-SOS/sac_server/Debug
sudo make clean
sudo make
dd if=/dev/urandom of=disk.bin bs=1024 count=512000
./sac-format disk.bin
cd $HOME
cd tp-2019-2c-SOS/sac_cli/Debug
sudo make clean
sudo make
mkdir tmp
cd $HOME