harness: do an actual read in the webserver stress test
Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>
Str "-fno-stack-protector",
Str "-Wno-unused-but-set-variable",
Str "-Wno-packed-bitfield-compat",
- Str "-Wno-frame-address",
Str "-D__x86__" ]
cFlags = ArchDefaults.commonCFlags
if (r.status / 100) != 2 :
print "HTTP request failed for %d" % (i)
assert((r.status / 100) == 2) # check for success response
-
+ data = r.read()
# Reset failure count after sucessful retrival
failure_count = 0
c.close()