From 3372cd0902f262b591ecb930a12d0049e69ac372 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Thu, 6 Apr 2023 13:28:16 +1000 Subject: test: Initialise ${TRACE} properly Unlike ${DEBUG} we don't initialize ${TRACE} to 0 if not set, which cases failures when testing it later. That failure acts as though it is false, however it emits spurious errors in script.log, which can make it harder to spot real errors. Signed-off-by: David Gibson Signed-off-by: Stefano Brivio --- test/run | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/run b/test/run index 5ddb8a9..c72c14c 100755 --- a/test/run +++ b/test/run @@ -32,6 +32,9 @@ FAST=${FAST:-1} # If set, run passt and pasta with debug options DEBUG=${DEBUG:-0} +# If set, run passt and pasta with trace options +TRACE=${TRACE:-0} + # If set, tell passt and pasta to take packet captures PCAP=${PCAP:-0} -- cgit v1.2.3