baseline tests of Telnet Test are ready

This commit is contained in:
Eric LAZO
2022-08-17 20:44:17 +02:00
parent 72b12132d4
commit 3763249a3e
15 changed files with 324 additions and 33 deletions

View File

@@ -21,11 +21,13 @@ _END='\033[0m'
#test_file_names=("test_template.sh" "test_header.sh" "test_path.sh")
#test_file_names=("test_method.sh" "test_header.sh" "test_path.sh")
test_file_names=("test_port.sh")
test_file_names=("test_method.sh" "test_header.sh" "test_path.sh" "test_valid_uri.sh" "test_delete.sh")
# Run this separately cuz of the content length subtlty
#test_file_names=("test_body.sh")
#test_file_names=("test_valid_uri.sh")
#test_file_names=("test_path.sh")
# kinda fucking useless, easier to test IRL
#test_file_names=("test_port.sh")
test_files=()
expected_result_files=()
@@ -54,7 +56,6 @@ test_all()
{
arg=${1}
c=0
make
@@ -102,8 +103,6 @@ test_all()
cat compare.txt > $expected_result_file
fi
c+=1
done
if [ "$arg" = "" ];