Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: These pass internally because the python interpreter from `/usr/local/fbcode` is available without needing to actually be installed, but in OSS we need to install `python3` Test Plan: ``` ❯ https_proxy=fwdproxy:8080 ../dotslash buck2 test //antlir/bzl/linux/tests:test-{os-release,timezone-{utc,us-pacific}} ✓ Pass: antlir//antlir/bzl/linux/tests:test-os-release (0.3s) ---- STDOUT ---- ---- STDERR ---- test_custom_name (antlir.bzl.linux.tests.test_os_release.OsReleaseTest) Verify that a custom 'os_name' is correctly included ... ok test_os_release (antlir.bzl.linux.tests.test_os_release.OsReleaseTest) Verify that the os-release file properly built. ... ok test_vcs (antlir.bzl.linux.tests.test_os_release.OsReleaseTest) Verify that VCS info is correctly included ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.004s OK ✓ Pass: antlir//antlir/bzl/linux/tests:test-timezone-utc (0.2s) ---- STDOUT ---- ---- STDERR ---- test_timezome (antlir.bzl.linux.tests.test_time.TimeTest) Verify that the timezone is set properly. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.003s OK ✓ Pass: antlir//antlir/bzl/linux/tests:test-timezone-us-pacific (0.2s) ---- STDOUT ---- ---- STDERR ---- test_timezome (antlir.bzl.linux.tests.test_time.TimeTest) Verify that the timezone is set properly. ... ok ---------------------------------------------------------------------- Ran 1 test in 0.003s OK Build ID: 46c923de-00e7-4856-82ad-3ff048a5b781 Network: Up: 0B Down: 0B Jobs completed: 68. Time elapsed: 17.1s. Cache hits: 0%. Commands: 24 (cached: 0, remote: 0, local: 24) Tests finished: Pass 3. Fail 0. Fatal 0. Skip 0. Build failure 0 ``` Reviewed By: justintrudell Differential Revision: D61816146 fbshipit-source-id: 064e81260f7bce17975b5741b579e45210e1907f
- Loading branch information