cellular: Add dns-ipv*-addr to callbox_server call

The curl command sometimes needs the local IP address that is going to
be used for the DNS request. Add the dns-ipv*-addr argument.
For ipv6 though, the IP address used by the device is not the one
provided by ModemManager. Adjust the logic to parse the IPv6 address
from the ip command.

BUG=b:287869288
TEST=tast run limozeen cellular.ShillEntitlementCheck.*
tast run storo360 cellular.ShillEntitlementCheck.*
tast run crota cellular.ShillEntitlementCheck.*

Change-Id: I52b95a93ddde4acecab6d9f707c42b6cc6ef7a06
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/4625570
Reviewed-by: Eric Caruso <[email protected]>
Tested-by: Andrew Lassalle <[email protected]>
Commit-Queue: Eric Caruso <[email protected]>
Auto-Submit: Andrew Lassalle <[email protected]>
1 file changed
tree: 236bbe5dcc279ac62381cc4afb790ddf2a1183d8
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. vars/
  6. .gitignore
  7. LICENSE
  8. OWNERS
  9. PRESUBMIT.cfg
  10. PRESUBMIT.py
  11. README.md
  12. unblocked_terms.txt
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • src/go.chromium.org/tast-tests/cros/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard ChromeOS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard ChromeOS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc