Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2022-11-05 01:29:06 +0300
committerBryan Drewery <bryan@shatow.net>2022-11-05 18:45:14 +0300
commit22e5f1d16b0e76ae0076764470f44ec9ebc505f1 (patch)
tree720ec8413e5315226395d0e238a6076fe6230a0b
parentfe5939af2f0bac316500556cef5905ecdada8b70 (diff)
bulk tests: queued stats should always be checked
-rw-r--r--test/common.bulk.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/common.bulk.sh b/test/common.bulk.sh
index ac47efc1..109ab651 100644
--- a/test/common.bulk.sh
+++ b/test/common.bulk.sh
@@ -407,12 +407,8 @@ assert_counts() {
expected_queued=$((expected_queued + expected_ignored + expected_skipped))
echo "=> Asserting queued=${expected_queued} ignored=${expected_ignored} skipped=${expected_skipped}"
- if [ -n "${EXPECTED_QUEUED-}" ]; then
- read queued < "${log}/.poudriere.stats_queued"
- assert 0 $? "${log}/.poudriere.stats_queued read should pass"
- else
- queued=0
- fi
+ read queued < "${log}/.poudriere.stats_queued"
+ assert 0 $? "${log}/.poudriere.stats_queued read should pass"
assert "${expected_queued}" "${queued}" "queued should match"
if [ -n "${EXPECTED_IGNORED-}" ]; then