Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdfp-pipe
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
libvdfp-pipe
Commits
69d0f64a
Unverified
Commit
69d0f64a
authored
Apr 29, 2021
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test that we capture stderr
parent
ae6c25d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
append.sh
src/tests/append.sh
+3
-0
append.vtc
src/tests/append.vtc
+13
-0
No files found.
src/tests/append.sh
View file @
69d0f64a
...
...
@@ -2,10 +2,13 @@
while
read
line
do
echo
>
&2 append
$1
while
read
echo
$line
sleep
1
echo
append
$1
done
echo
>
&2 append
$1
before final
echo
final
$1
echo
>
&2 append
$1
after final
exit
0
src/tests/append.vtc
View file @
69d0f64a
...
...
@@ -27,6 +27,17 @@ varnish v1 -arg "-p debug=+syncvsl" -vcl+backend {
}
} -start
logexpect l1001 -v v1 -q "vxid == 1001" -i Error {
expect 0 1001 Error "stderr: append 1 while read$"
expect 0 = Error "stderr: append 2 while read$"
expect 0 = Error "stderr: append 2 while read$"
expect ? = Error "stderr: append 2 while read$"
expect ? = Error "stderr: append 2 before final$"
expect ? = Error "stderr: append 2 after final$"
expect ? = Error "stderr: append 1 before final$"
expect ? = Error "stderr: append 1 after final$"
} -start
client c1 {
txreq
rxresp
...
...
@@ -41,3 +52,5 @@ final 2
}
} -run
logexpect l1001 -wait
\ No newline at end of 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