Skip to content

Commit

Permalink
chore(tests): improve base64 command
Browse files Browse the repository at this point in the history
dalisoft committed Jun 24, 2024
1 parent 6eaa39c commit 9d2ce60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ssh-sign/git-ssh-sign.test.sh
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ test_ssh_sign_2_1_passwordless() {
chmod 600 "${CURRENT_DIR}/sign"
chmod 600 "${CURRENT_DIR}/sign.pub"

SSH_PRIVATE_KEY=$(base64 -i "${CURRENT_DIR}/sign" -o -)
SSH_PRIVATE_KEY=$(base64 -i "${CURRENT_DIR}/sign")
SSH_PUBLIC_KEY=$(cat "${CURRENT_DIR}/sign.pub")

export SSH_PRIVATE_KEY

0 comments on commit 9d2ce60

Please sign in to comment.