Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/extensions/deflatemod.t/run.t
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
$ source ../../server-test-helpers.sh
$ run_server ./test.exe
ocsigen:main: [WARNING] Command pipe created
ocsigen:access: connection for local-test from (curl/8.12.1): /index.html
ocsigen:access: connection for local-test from (): /index.html
ocsigen:ext: [INFO] host found! local-test:0 matches .*
ocsigen:ext:staticmod: [INFO] Is it a static file?
ocsigen:local-file: [INFO] Testing "./index.html".
ocsigen:local-file: [INFO] checking if file index.html can be sent
ocsigen:ext: [INFO] Compiling exclusion regexp $^
ocsigen:local-file: [INFO] Returning "./index.html".
ocsigen:access: connection for local-test from (curl/8.12.1): /index.html
ocsigen:access: connection for local-test from (): /index.html
ocsigen:ext: [INFO] host found! local-test:0 matches .*
ocsigen:ext:staticmod: [INFO] Is it a static file?
ocsigen:local-file: [INFO] Testing "./index.html".
Expand Down
3 changes: 2 additions & 1 deletion test/server-test-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ curl_ ()
{
local path=$1; shift
# Remove the 'date' header, which is unreproducible
curl --unix-socket ./local.sock -s -i "$@" "http://local-test/$path" | \
curl --unix-socket ./local.sock --user-agent "" -s -i \
"$@" "http://local-test/$path" | \
grep -v "^date: "
}