[master] 9f101cff6 Fix reference to debug.srandom

Nils Goroll nils.goroll at uplex.de
Thu Mar 16 16:37:09 UTC 2023

commit 9f101cff6be08ccbd370bf4ae299ec3df1763d3b
Author: Nils Goroll <nils.goroll at 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

More information about the varnish-commit mailing list