aboutsummaryrefslogtreecommitdiff
path: root/test/html
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-08-25 00:31:01 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-08-25 00:31:01 +0200
commita0a423c3e1283fba0e01dd616d17270256fecf9f (patch)
tree1722ff534e15327bb6b6047e0c062e3ae16f50c7 /test/html
parent580622b70f85c7a3ced75e4a586bc2ce0d1e278b (diff)
Save stderr in a log per test file
Diffstat (limited to 'test/html')
-rwxr-xr-xtest/html/driver.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/html/driver.sh b/test/html/driver.sh
index de753196..d16563e5 100755
--- a/test/html/driver.sh
+++ b/test/html/driver.sh
@@ -31,8 +31,9 @@ fi
function render_page() {
htmlfile="$1"
outpic="$2"
+ outerr="$2.err"
- "$DILLOBIN" -f "$htmlfile" 2> dillo.err &
+ "$DILLOBIN" -f "$htmlfile" 2> "$outerr" &
dillopid=$!
# TODO: We need a better system to determine when the page loaded
@@ -62,7 +63,7 @@ function render_page() {
# Dillo may fail due to leaks, but we will check them manually
wait "$dillopid" || true
- awk -f "$LEAKFILTER" < dillo.err
+ awk -f "$LEAKFILTER" < "$outerr"
}
function test_file() {