[cs631apue] Fwd: test-sws.sh
Jan Schaumann
jschauma at stevens.edu
Fri Dec 4 21:39:13 EST 2015
Shenghan Gao <sgao9 at stevens.edu> wrote:
> When run the script, it will raise an error like below.
>
> GET '/file%20space%20%3C%20path%20%3E%20name' HTTP/1.0
> test-sws.sh: 73: printf: %20%: invalid directive
That's fixed.
> And the script will stop on it for several seconds.
The script will always appear to stop at the end, waiting for a
connection timeout.
I'll also note that this script is only a simple set of tests; it is not
exhaustive and your program needs to be able to handle other requests
besides those in this script. Being able to handle the ones in there is
a necessary, not a sufficient requirement.
-Jan
More information about the cs631apue
mailing list