[PATCH nft 0/3] add NFT_TEST_RANDOM_SEED and shuffle tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



- let "run-tests.sh" export a NFT_TEST_RANDOM_SEED, which tests may use
  for generating stable (reproducible) sequences in randomized tests.
- add NFT_TEST_SHUFFLE_TESTS, to randomize the order in which tests are
  run. The purpose is to find issues where tests interfere with each
  other. It's enabled by default, if no tests are explicitly specified
  on the command line.

Thomas Haller (3):
  tests/shell: export NFT_TEST_RANDOM_SEED variable for tests
  tests/shell: add "random-source.sh" helper for random-source for
    sort/shuf
  tests/shell: add option to shuffle execution order of tests

 tests/shell/helpers/random-source.sh   | 40 ++++++++++++++++
 tests/shell/run-tests.sh               | 64 ++++++++++++++++++++++++++
 tests/shell/testcases/sets/automerge_0 |  2 +-
 3 files changed, 105 insertions(+), 1 deletion(-)
 create mode 100755 tests/shell/helpers/random-source.sh

-- 
2.41.0




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux