heck yeah tests

This commit is contained in:
Nikolaj committed 2021-12-04 11:54:31 +01:00
1 parent d5a66fe4c9
commit da1b940597
26 files changed
+1081287 -11

No files matched your search

BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
BIN
View File
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
Whitespace-only changes.
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
File diff suppressed because it is too large. Load diff
Binary file not shown.
+13
View 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