mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-08 08:58:46 +03:00
tests/pull-test: Avoid duplicating test numbers
We do this in other places; avoids touching two numbers when adding tests. Let computers do the addition.
This commit is contained in:
parent
09804f7a09
commit
213b8608ea
@ -54,11 +54,12 @@ function verify_initial_contents() {
|
||||
assert_file_has_content baz/cow '^moo$'
|
||||
}
|
||||
|
||||
n_base_tests=35
|
||||
gpg_tests=3
|
||||
if has_gpgme; then
|
||||
echo "1..38"
|
||||
echo "1..$(($n_base_tests+$gpg_tests))"
|
||||
else
|
||||
# 3 tests needs GPG support
|
||||
echo "1..35"
|
||||
echo "1..$((n_base_tests))"
|
||||
fi
|
||||
|
||||
# Try both syntaxes
|
||||
|
Loading…
x
Reference in New Issue
Block a user