baseline tests of Telnet Test are ready
This commit is contained in:
13
main_test.sh
13
main_test.sh
@@ -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" = "" ];
|
||||
|
||||
Reference in New Issue
Block a user