Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Readd test fileserver using curl (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
baluchicken authored Apr 5, 2024
1 parent cac9d32 commit f37a8e3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions test/smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ echo -e "GET / HTTP/1.1\r\n\r\n" | openssl s_client -connect 127.0.0.1:7000
echo "Test openssl client connect to python with ECDHE-RSA-CHACHA20-POLY1305 cipher"
echo -e "GET / HTTP/1.1\r\n\r\n" | openssl s_client -cipher ECDHE-RSA-CHACHA20-POLY1305 -connect 127.0.0.1:7000

# turn off because of know issue
# echo "Test file-server using curl"
# rm -f testfile test.output
# echo "response" > testfile
# echo -e " 100 0\n 100 response" > test.output
# for i in `seq 1 100`; do curl -s localhost:8000/testfile; echo $?; done |sort|uniq -c|diff - test.output
echo "Test file-server using curl"
rm -f testfile test.output
echo "response" > testfile
echo -e " 100 0\n 100 response" > test.output
for i in `seq 1 100`; do curl -s localhost:8000/testfile; echo $?; done |sort|uniq -c|diff - test.output

echo "Test sendfile with NGiNX using curl"
echo -e " 100 0" > test.output
Expand Down

0 comments on commit f37a8e3

Please sign in to comment.