Test-Command: repo help && repo --time init -q --depth=1 -u https://android.googlesource.com/platform/manifest -b android-2.3.7_r1
Depends: @, ca-certificates
Restrictions: allow-stderr

Test-Command: rm -rf .repo && repo --time init -q --depth=1 --use-superproject -u https://android.googlesource.com/platform/manifest -b android-s-beta-2
Depends: @, ca-certificates, git (>= 1:2.28.0)
Restrictions: allow-stderr

Test-Command: sed -i -e '/run_flake8,/d' -e '/run_update_manpages,/d' run_tests && debian/rules override_dh_auto_test
Depends: @, python3-flake8-black, python3-isort, python3-pytest-timeout
Restrictions: allow-stderr
#
# * Remove run_flake8 test: Seems like config .flake8 file is not exported to the CI environment.
#   There're errors from Salsa CI / Debian CI:
#
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:220:81: E501 line too long (82 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:222:81: E501 line too long (91 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:223:81: E501 line too long (86 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:224:81: E501 line too long (85 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:240:81: E501 line too long (92 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:241:81: E501 line too long (86 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:263:81: E501 line too long (91 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:274:81: E501 line too long (91 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:295:81: E501 line too long (82 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:296:81: E501 line too long (87 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:301:81: E501 line too long (106 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:331:81: E501 line too long (101 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:384:81: E501 line too long (82 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:386:81: E501 line too long (87 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:391:81: E501 line too long (106 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:426:81: E501 line too long (82 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:449:81: E501 line too long (82 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:450:81: E501 line too long (87 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:455:81: E501 line too long (106 > 80 characters)
#     /tmp/autopkgtest.ryLgNC/tree/.repo/repo/tests/test_git_superproject.py:457:81: E501 line too long (106 > 80 characters)
#
# * Remove run_update_manpages test: There're errors from Salsa CI / Debian CI:
#
#     help2man: can't get `help download' info from ./repo
#     Try `--no-discard-stderr' if option outputs to stderr
#     help2man: can't get `help prune' info from ./repo
#     Try `--no-discard-stderr' if option outputs to stderr
#     help2man: can't get `help grep' info from ./repo
#     Try `--no-discard-stderr' if option outputs to stderr
#     help2man: can't get `help list' info from ./repo
#     Try `--no-discard-stderr' if option outputs to stderr
#     help2man: can't get `help help' info from ./repo
#     Try `--no-discard-stderr' if option outputs to stderr
#     help2man: can't get `help smartsync' info from ./repo
#     Try `--no-discard-stderr' if option outputs to stderr
#     help2man: can't get `help abandon' info from ./repo
#     Try `--no-discard-stderr' if option outputs to stderr
#     multiprocessing.pool.RemoteTraceback:
#     """
#     Traceback (most recent call last):
#       File "/usr/lib/python3.13/multiprocessing/pool.py", line 125, in worker
#         result = (True, func(*args, **kwds))
#                         ~~~~^^^^^^^^^^^^^^^
#       File "/usr/lib/python3.13/multiprocessing/pool.py", line 48, in mapstar
#         return list(map(*args))
#       File "/tmp/autopkgtest-lxc.s839zray/downtmp/build.0pm/src/release/update_manpages.py", line 44, in worker
#         subprocess.run(cmd, **kwargs)
#         ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
#       File "/usr/lib/python3.13/subprocess.py", line 577, in run
#         raise CalledProcessError(retcode, process.args,
#                                  output=stdout, stderr=stderr)
#     subprocess.CalledProcessError: Command '['help2man', '-N', '-n', 'repo download - manual page for repo download', '-S', 'repo download', '-m', 'Repo Manual', '--
# ersion-string=2.58\n', '-o', PosixPath('/tmp/autopkgtest-lxc.s839zray/downtmp/build.0pm/src/man/repo-download.1.tmp'), './repo', '-h', 'help download']' returned non
# zero exit status 1.
#     """
