Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-zipflow
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-zipflow
Commits
40c04b45
Unverified
Commit
40c04b45
authored
Oct 02, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test case now lives in GMT
it failed when it did not run on the same timezone as my laptop :|
parent
c78b66fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Makefile.am
src/Makefile.am
+2
-1
vmod_zipflow.vtc
src/vtc/vmod_zipflow.vtc
+2
-2
No files found.
src/Makefile.am
View file @
40c04b45
...
...
@@ -31,7 +31,8 @@ EXTRA_DIST = foreign/zipflow/LICENSE
AM_TESTS_ENVIRONMENT
=
\
PATH
=
"
$(abs_builddir)
:
$(VARNISH_TEST_PATH)
:
$(PATH)
"
\
LD_LIBRARY_PATH
=
"
$(VARNISH_LIBRARY_PATH)
"
LD_LIBRARY_PATH
=
"
$(VARNISH_LIBRARY_PATH)
"
\
TZ
=
GMT
TEST_EXTENSIONS
=
.vtc
VTC_LOG_COMPILER
=
varnishtest
-vl
-t10
AM_VTC_LOG_FLAGS
=
\
...
...
src/vtc/vmod_zipflow.vtc
View file @
40c04b45
...
...
@@ -52,7 +52,7 @@ client c1 {
shell "curl -so t.zip -H 'Host: ${v1_addr}' http://${v1_addr}:${v1_port}/ && unzip -Z t.zip | grep -P '^-rw-r--r--.*\\b1024\\b.*\\b..-...-.. ..:.. unnamed_file$'"
# mtime = last-modified
shell "curl -so t.zip -H 'Host: ${v1_addr}' http://${v1_addr}:${v1_port}/path/to/lm?p && unzip -Z t.zip | grep -P '^-rw-r--r--.*\\b512\\b.*\\b23-Aug-21
11
:48 lm'"
shell "curl -so t.zip -H 'Host: ${v1_addr}' http://${v1_addr}:${v1_port}/path/to/lm?p && unzip -Z t.zip | grep -P '^-rw-r--r--.*\\b512\\b.*\\b23-Aug-21
09
:48 lm'"
# filename
shell "curl -so t.zip -H 'Host: ${v1_addr}' -H 'filename: file' http://${v1_addr}:${v1_port}/ && unzip -Z t.zip | grep -P '^-rw-r--r--.*\\b1024\\b.*\\b..-...-.. ..:.. file$'"
...
...
@@ -61,4 +61,4 @@ shell "curl -so t.zip -H 'Host: ${v1_addr}' -H 'filename: file' http://${v1_addr
shell "curl -so t.zip -H 'Host: ${v1_addr}' -H 'mode: 0755' http://${v1_addr}:${v1_port}/ && unzip -Z t.zip | grep -P '^-rwxr-xr-x.*\\b1024\\b.*\\b..-...-.. ..:.. unnamed_file$'"
# mtime
shell "curl -so t.zip -H 'Host: ${v1_addr}' -H 'mtime: 15759
00
00' http://${v1_addr}:${v1_port}/ && unzip -Z t.zip | grep -P '^-rw-r--r--.*\\b1024\\b.*\\b74-Dec-30 00:00 unnamed_file$'"
shell "curl -so t.zip -H 'Host: ${v1_addr}' -H 'mtime: 15759
36
00' http://${v1_addr}:${v1_port}/ && unzip -Z t.zip | grep -P '^-rw-r--r--.*\\b1024\\b.*\\b74-Dec-30 00:00 unnamed_file$'"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment