Skip to content

Commit

Permalink
tests: Fix random failure when base64 string starts with URI
Browse files Browse the repository at this point in the history
At random times, the uri test was failing with some error like this:

```
openssl storeutl -text "$uri"
Couldn't open file or uri URI7xnNajqYJnkZTktp42UM2yp38/G8hCR7QWsnuREHRXLaVoqVJouteOg==
40A7BAF0F27F0000:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:../crypto/store/store_register.c:237:scheme=file
40A7BAF0F27F0000:error:80000002:system library:file_open:No such file or directory:../providers/implementations/storemgmt/file_store.c:267:calling stat(URI7xnNajqYJnkZTktp42UM2yp38/G8hCR7QWsnuREHRXLaVoqVJouteOg==)
```

Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Dec 17, 2024
1 parent 7818287 commit edfa16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/turi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ $FAIL -ne 0 ]; then
exit 1
fi

URISonly=$(echo "$helper_output" | grep "^URI")
URISonly=$(echo "$helper_output" | grep "^URI pkcs11:")
# poor mans mapfile for bash 3 on macos
declare -a URIS
while read -r var; do
Expand Down

0 comments on commit edfa16e

Please sign in to comment.