From 8c5ed5de0bc920b4675fe0d7122356520a26a2aa Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 1 May 2022 14:06:53 -0500 Subject: [PATCH] Add BUP_TEST_RANDOM_SEED Signed-off-by: Rob Browning --- GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 49d0c78..812ea38 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -4,6 +4,9 @@ MAKEFLAGS += --warn-undefined-variables SHELL := bash .DEFAULT_GOAL := all +# So where possible we can make tests more reproducible +export BUP_TEST_RANDOM_SEED ?= $(shell echo "$$RANDOM") + # Guard against accidentally using/testing a local bup export PATH := $(CURDIR)/dev/shadow-bin:$(PATH) -- 2.39.2