[master] b10d0cba9 Make test compatible with malloc and umem stevedore
Nils Goroll
nils.goroll at uplex.de
Mon Aug 30 17:35:05 UTC 2021
commit b10d0cba9bd409c0d691fab27c5f81e044c793d7
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Aug 30 19:34:10 2021 +0200
Make test compatible with malloc and umem stevedore
diff --git a/bin/varnishtest/tests/t02022.vtc b/bin/varnishtest/tests/t02022.vtc
index 6a7ea5cc4..4b636be68 100644
--- a/bin/varnishtest/tests/t02022.vtc
+++ b/bin/varnishtest/tests/t02022.vtc
@@ -44,15 +44,15 @@ client c1 {
} -start
} -start
-varnish v1 -expect SMA.rxbuf.g_bytes >= 2048
-varnish v1 -expect SMA.Transient.g_bytes == 0
+varnish v1 -expect SM?.rxbuf.g_bytes >= 2048
+varnish v1 -expect SM?.Transient.g_bytes == 0
varnish v1 -expect MAIN.n_lru_nuked == 0
barrier b1 sync
client c1 -wait
-varnish v1 -expect SMA.rxbuf.g_bytes == 0
-varnish v1 -expect SMA.Transient.g_bytes == 0
+varnish v1 -expect SM?.rxbuf.g_bytes == 0
+varnish v1 -expect SM?.Transient.g_bytes == 0
varnish v1 -expect MAIN.n_lru_nuked == 0
client c2 {
@@ -62,7 +62,7 @@ client c2 {
expect resp.bodylen == 1048000
} -run
-varnish v1 -expect SMA.rxbuf.g_bytes >= 1048000
+varnish v1 -expect SM?.rxbuf.g_bytes >= 1048000
varnish v1 -expect MAIN.n_lru_nuked == 0
client c3 {
@@ -74,13 +74,13 @@ client c3 {
} -start
} -start
-varnish v1 -expect SMA.rxbuf.g_bytes >= 2048
-varnish v1 -expect SMA.rxbuf.g_bytes < 3000
-varnish v1 -expect SMA.Transient.g_bytes == 0
+varnish v1 -expect SM?.rxbuf.g_bytes >= 2048
+varnish v1 -expect SM?.rxbuf.g_bytes < 3000
+varnish v1 -expect SM?.Transient.g_bytes == 0
varnish v1 -expect MAIN.n_lru_nuked == 1
barrier b1 sync
client c3 -wait
-varnish v1 -expect SMA.rxbuf.g_bytes == 0
-varnish v1 -expect SMA.Transient.g_bytes == 0
+varnish v1 -expect SM?.rxbuf.g_bytes == 0
+varnish v1 -expect SM?.Transient.g_bytes == 0
More information about the varnish-commit
mailing list