]> err.no Git - varnish/commit
Add a toplevel word which examines the sequence returned by
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Nov 2008 09:37:21 +0000 (09:37 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 10 Nov 2008 09:37:21 +0000 (09:37 +0000)
commitfcc92080bfab5c450ae8eef191259e1230057ffb
treeb6130144b871db6450c19778ee1b1ea1de690dc0
parentad065fdb38f06b8154230d97e600602f71aea17a
Add a toplevel word which examines the sequence returned by
srandom(1) and stops the test if we do not get the same sequence
as we expect.

The Open Group does not define which deterministic sequence srandom(1)
should result in, on that it be deterministic, but I have high hopes
in the general sanity and expect that UNIX people across the board
have realized that for portability the same sequence should be
returned on all platforms.

At the very least FreeBSD and Linux/GLIBC, as seen on projects.linpro.no,
agree.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3367 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/bin/varnishtest/vtc.c