Mailing List Archive

[master] 9f101cff6 Fix reference to debug.srandom
commit 9f101cff6be08ccbd370bf4ae299ec3df1763d3b
Author: Nils Goroll <nils.goroll@uplex.de>
Date: Thu Mar 16 17:33:50 2023 +0100

Fix reference to debug.srandom

m00002.vtc has long been renamed to vmod/tests/std_b00001.vtc,
so we could also reference that test case, but I guess a debug
CLI command should be warning enough...

diff --git a/vmod/vmod_std.vcc b/vmod/vmod_std.vcc
index cef9590c4..04130136d 100644
--- a/vmod/vmod_std.vcc
+++ b/vmod/vmod_std.vcc
@@ -48,8 +48,9 @@ $Function REAL random(REAL lo, REAL hi)
Returns a random real number between *lo* and *hi*.

This function uses the "testable" random generator in varnishd which
-enables deterministic tests to be run (See ``m00002.vtc``). This
-function should not be used for cryptographic applications.
+enables deterministic tests to be run (See ``debug.srandom`` CLI
+command). This function should not be used for cryptographic
+applications.

Example::

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit