Skip to content

Commit

Permalink
Move this around to avoid mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsch committed Mar 14, 2019
1 parent 5de9bc4 commit 0fc5c76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 4 additions & 0 deletions bin/varnishtest/tests/p00000.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ varnishtest "Test Basic persistence"

feature persistent_storage

shell -err -expect {-spersistent has been deprecated} {
varnishd -spersistent -f ''
}

server s1 {
rxreq
txresp
Expand Down
10 changes: 2 additions & 8 deletions bin/varnishtest/tests/u00000.vtc
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,6 @@ shell -err -expect {-d makes no sense with -C} "varnishd -C -b 127.0.0.1:80 -d "
shell -err -expect {-F makes no sense with -C} "varnishd -C -b 127.0.0.1:80 -F "
shell -err -expect {Neither -b nor -f given} { varnishd -n ${tmpdir}/v0 }

# This check is kept last because it may be skipped

feature persistent_storage

shell -err -expect {-spersistent has been deprecated} {
varnishd -spersistent -f ''
}

# Test -I and -l arguments (former a00016)

shell -err -expect {Only one -I allowed} {
Expand Down Expand Up @@ -160,3 +152,5 @@ shell -err -expect {Cannot read -f file} {
exec varnishd -n ${tmpdir}/v0 -F -a :0 -l2m,3m -f ${tmpdir}/ok1 \
-f ${tmpdir}/bad -f ${tmpdir}/ok2
}

# varnishd -spersistent is tested in p00000.vtc

0 comments on commit 0fc5c76

Please sign in to comment.