mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Merge pull request #24343 from dgibson/bug24342
test/system: Fix spurious "duplicate tests" failures in pasta tests
This commit is contained in:
@ -129,7 +129,7 @@ function pasta_test_do() {
|
||||
local tests_run=${BATS_FILE_TMPDIR}/tests_run
|
||||
touch ${tests_run}
|
||||
local testid="IPv${ip_ver} $proto $iftype $bind_type range=$range delta=$delta bytes=$bytes"
|
||||
if grep -q -F -- "$testid" ${tests_run}; then
|
||||
if grep -q -F -x -- "$testid" ${tests_run}; then
|
||||
die "Duplicate test! Have already run $testid"
|
||||
fi
|
||||
echo "$testid" >>${tests_run}
|
||||
|
Reference in New Issue
Block a user