]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests: shell: Run tests with a fixed TZ master
authorPhil Sutter <phil@nwl.cc>
Thu, 18 Jun 2026 10:41:34 +0000 (12:41 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 18 Jun 2026 11:18:07 +0000 (13:18 +0200)
commita20aa2e21c0d9e6aaf37566ceac2ea1e0bd0eb87
treefab24eeabfd843c3e58b4688b44aaa7ca99cb6be
parentba90672b190737d72723d0ec6ccfaaa46b4e7cd0
tests: shell: Run tests with a fixed TZ

Inheriting the system's local TZ is problematic with meta time/hour
expressions in dumps. Use UTC-2 since that matches what py test suite is
using.

While at it, fix up the first two dumps containing such expressions.

Signed-off-by: Phil Sutter <phil@nwl.cc>
tests/shell/helpers/test-wrapper.sh
tests/shell/testcases/parsing/dumps/exclusive_start_cond.json-nft
tests/shell/testcases/parsing/dumps/exclusive_start_cond.nft