diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-04-06 13:28:16 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-04-08 01:12:05 +0200 |
commit | 3372cd0902f262b591ecb930a12d0049e69ac372 (patch) | |
tree | 57ac3c44cec9b7a3e3e18c3cb58d108359d7f336 /test | |
parent | 329149d51a7f8132beefcafc688812e2926607e1 (diff) | |
download | passt-3372cd0902f262b591ecb930a12d0049e69ac372.tar passt-3372cd0902f262b591ecb930a12d0049e69ac372.tar.gz passt-3372cd0902f262b591ecb930a12d0049e69ac372.tar.bz2 passt-3372cd0902f262b591ecb930a12d0049e69ac372.tar.lz passt-3372cd0902f262b591ecb930a12d0049e69ac372.tar.xz passt-3372cd0902f262b591ecb930a12d0049e69ac372.tar.zst passt-3372cd0902f262b591ecb930a12d0049e69ac372.zip |
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 <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
-rwxr-xr-x | test/run | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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} |