diff --git a/test/html/driver.sh b/test/html/driver.sh
index c970dc96..bc377f90 100755
--- a/test/html/driver.sh
+++ b/test/html/driver.sh
@@ -62,10 +62,8 @@ function test_file() {
if [ "$diffvalue" = "0" ]; then
echo "OK"
ret=0
- rm -rf $wdir
else
echo "FAIL"
- cp $wdir/diff.png "$(basename $html_file).diff.png"
ret=1
fi