Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Nov 30, 2023
1 parent a74d1fb commit f19f960
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion distroless/tests/asserts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,18 @@ def assert_jks_listing(name, actual, expected):
],
outs = ["_{}.listing".format(name)],
cmd = """
#!/usr/bin/env bash
set -o pipefail -o errexit -o nounset
BINS=($(locations @rules_java//toolchains:current_java_runtime))
KEYTOOL=$$(dirname $${BINS[1]})/keytool
TZ="UTC" $$KEYTOOL -list -keystore $(location %s) -storepass changeit > $@
echo $${TZ:-}
echo $${LANG:-}
env
export TZ="UTC"
export LANG="en_CA"
env
$$KEYTOOL -list -keystore $(location %s) -storepass changeit > $@
""" % actual,
)

Expand Down

0 comments on commit f19f960

Please sign in to comment.