heck yeah tests
This commit is contained in:
BIN
A4/testing/peer1/cascade
Executable file
BIN
A4/testing/peer1/cascade
Executable file
Binary file not shown.
124456
A4/testing/peer1/shakespeare.100kib.txt
Normal file
124456
A4/testing/peer1/shakespeare.100kib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer1/shakespeare.100kib.txt.cascade
Normal file
BIN
A4/testing/peer1/shakespeare.100kib.txt.cascade
Normal file
Binary file not shown.
124456
A4/testing/peer1/shakespeare.10kib.txt
Normal file
124456
A4/testing/peer1/shakespeare.10kib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer1/shakespeare.10kib.txt.cascade
Normal file
BIN
A4/testing/peer1/shakespeare.10kib.txt.cascade
Normal file
Binary file not shown.
124456
A4/testing/peer1/shakespeare.10mib.txt
Normal file
124456
A4/testing/peer1/shakespeare.10mib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer1/shakespeare.10mib.txt.cascade
Normal file
BIN
A4/testing/peer1/shakespeare.10mib.txt.cascade
Normal file
Binary file not shown.
124456
A4/testing/peer1/shakespeare.1kib.txt
Normal file
124456
A4/testing/peer1/shakespeare.1kib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer1/shakespeare.1kib.txt.cascade
Normal file
BIN
A4/testing/peer1/shakespeare.1kib.txt.cascade
Normal file
Binary file not shown.
124456
A4/testing/peer1/shakespeare.1mib.txt
Normal file
124456
A4/testing/peer1/shakespeare.1mib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer1/shakespeare.1mib.txt.cascade
Normal file
BIN
A4/testing/peer1/shakespeare.1mib.txt.cascade
Normal file
Binary file not shown.
BIN
A4/testing/peer2/cascade
Executable file
BIN
A4/testing/peer2/cascade
Executable file
Binary file not shown.
124456
A4/testing/peer2/shakespeare.100kib.txt
Normal file
124456
A4/testing/peer2/shakespeare.100kib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer2/shakespeare.100kib.txt.cascade
Normal file
BIN
A4/testing/peer2/shakespeare.100kib.txt.cascade
Normal file
Binary file not shown.
90551
A4/testing/peer2/shakespeare.10kib.txt
Normal file
90551
A4/testing/peer2/shakespeare.10kib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer2/shakespeare.10kib.txt.cascade
Normal file
BIN
A4/testing/peer2/shakespeare.10kib.txt.cascade
Normal file
Binary file not shown.
0
A4/testing/peer2/shakespeare.10mib.txt
Normal file
0
A4/testing/peer2/shakespeare.10mib.txt
Normal file
BIN
A4/testing/peer2/shakespeare.10mib.txt.cascade
Normal file
BIN
A4/testing/peer2/shakespeare.10mib.txt.cascade
Normal file
Binary file not shown.
124456
A4/testing/peer2/shakespeare.1kib.txt
Normal file
124456
A4/testing/peer2/shakespeare.1kib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer2/shakespeare.1kib.txt.cascade
Normal file
BIN
A4/testing/peer2/shakespeare.1kib.txt.cascade
Normal file
Binary file not shown.
119485
A4/testing/peer2/shakespeare.1mib.txt
Normal file
119485
A4/testing/peer2/shakespeare.1mib.txt
Normal file
File diff suppressed because it is too large
Load Diff
BIN
A4/testing/peer2/shakespeare.1mib.txt.cascade
Normal file
BIN
A4/testing/peer2/shakespeare.1mib.txt.cascade
Normal file
Binary file not shown.
13
A4/testing/test.sh
Executable file
13
A4/testing/test.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#! /usr/bin/bash
|
||||
|
||||
# Deletes previously downloaded files from the downloading peer
|
||||
rm ./peer2/*.txt
|
||||
|
||||
# Runs the peer
|
||||
./peer1/cascade ./peer1/shakespeare.1kib.txt.cascade 127.0.0.1 8888 127.0.0.1 5555 p &
|
||||
|
||||
# Runs the downloading client
|
||||
./peer2/cascade ./peer2/shakespeare.1kib.txt.cascade 127.0.0.1 8888 127.0.0.1 5556 d
|
||||
|
||||
# Kills the peer
|
||||
killall cascade
|
||||
Reference in New Issue
Block a user