Skip to content

Commit

Permalink
fix: set -e in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nponsard committed Sep 19, 2023
1 parent 279d9c4 commit 54f7b89
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/tests/decrypt_rsa_pkcs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -x

set -e

KEYID=rsakey

HEXID=$(echo -n ${KEYID} | xxd -ps)
Expand Down
2 changes: 2 additions & 0 deletions tools/tests/decrypt_rsa_pkcs_sha1.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -x

set -e

KEYID=rsakey

HEXID=$(echo -n ${KEYID} | xxd -ps)
Expand Down
2 changes: 2 additions & 0 deletions tools/tests/decrypt_rsa_pkcs_sha256.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -x

set -e

KEYID=rsakey

HEXID=$(echo -n ${KEYID} | xxd -ps)
Expand Down
2 changes: 2 additions & 0 deletions tools/tests/decrypt_rsa_pkcs_sha512.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -x

set -e

KEYID=rsakey

HEXID=$(echo -n ${KEYID} | xxd -ps)
Expand Down
2 changes: 2 additions & 0 deletions tools/tests/decrypt_rsa_raw.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -x

set -e

KEYID=rsakey

HEXID=$(echo -n ${KEYID} | xxd -ps)
Expand Down
2 changes: 2 additions & 0 deletions tools/tests/sign_rsa_sha1.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh -x

set -e

KEYID=rsakey

HEXID=$(echo -n ${KEYID} | xxd -ps)
Expand Down

0 comments on commit 54f7b89

Please sign in to comment.