Skip to content

Commit 2994717

Browse files
committed
tests: refactor system tests
1 parent a367a38 commit 2994717

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.kokoro/system.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ run_package_test() {
6565
--location=global --keyring=ci --key=kokoro-secrets \
6666
--ciphertext-file="${package_path}/system_tests/secrets.tar.enc" \
6767
--plaintext-file="${package_path}/system_tests/secrets.tar"
68-
# Extract files directly into the package directory.
69-
# --strip-components=2 removes 'system_tests/data/' from the archived paths.
7068
mkdir -p "${package_path}/system_tests/data"
71-
tar xvf "${package_path}/system_tests/secrets.tar" -C "${package_path}/system_tests/data/" --strip-components=2
69+
# Extract from the package root.
70+
# The tar already contains the 'system_tests/data/' path.
71+
tar xvf "${package_path}/system_tests/secrets.tar" -C "${package_path}/"
7272

7373
rm "${package_path}/system_tests/secrets.tar"
7474
;;

0 commit comments

Comments
 (0)