diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-25 00:31:01 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-25 00:31:01 +0200 |
commit | a0a423c3e1283fba0e01dd616d17270256fecf9f (patch) | |
tree | 1722ff534e15327bb6b6047e0c062e3ae16f50c7 | |
parent | 580622b70f85c7a3ced75e4a586bc2ce0d1e278b (diff) |
Save stderr in a log per test file
-rwxr-xr-x | test/html/driver.sh | 5 |
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() { |