Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Suite depends on /usr/bin/base64 which may be incompatible #49

Open
ChrisPenner opened this issue Feb 19, 2019 · 0 comments
Open

Comments

@ChrisPenner
Copy link

MacOS has non-gnu compatible base64 causing problems in the test suite:

  test/Test/SAML2/WebSSO/APISpec.hs:44:25:
  1) Test.SAML2.WebSSO.API.API, base64 encoding, compatible with /usr/bin/base64, ""
       uncaught exception: ReThrownException

       Ran commands:
       /usr/bin/base64 --wrap 0
       which /usr/bin/base64

       Exception: error running: /usr/bin/base64 --wrap 0
       exit status: 64
       stderr: base64: unrecognized option `--wrap'
       Usage:   /usr/bin/base64 [-hvD] [-b num] [-i in_file] [-o out_file]
         -h, --help     display this message
         -D, --decode   decodes input
         -b, --break    break encoded string into num character lines
         -i, --input    input file (default: "-" for stdin)
         -o, --output   output file (default: "-" for stdout)

  To rerun use: --match "/Test.SAML2.WebSSO.API/API/base64 encoding/compatible with /usr/bin/base64/\"\"/"

  test/Test/SAML2/WebSSO/APISpec.hs:44:25:
  2) Test.SAML2.WebSSO.API.API, base64 encoding, compatible with /usr/bin/base64, "..."
       uncaught exception: ReThrownException

       Ran commands:
       /usr/bin/base64 --wrap 0
       which /usr/bin/base64

       Exception: error running: /usr/bin/base64 --wrap 0
       exit status: 64
       stderr: base64: unrecognized option `--wrap'
       Usage:   /usr/bin/base64 [-hvD] [-b num] [-i in_file] [-o out_file]
         -h, --help     display this message
         -D, --decode   decodes input
         -b, --break    break encoded string into num character lines
         -i, --input    input file (default: "-" for stdin)
         -o, --output   output file (default: "-" for stdout)

  To rerun use: --match "/Test.SAML2.WebSSO.API/API/base64 encoding/compatible with /usr/bin/base64/\"...\"/"

  test/Test/SAML2/WebSSO/APISpec.hs:44:25:
  3) Test.SAML2.WebSSO.API.API, base64 encoding, compatible with /usr/bin/base64, "foiy0t019061.........|||"
       uncaught exception: ReThrownException

       Ran commands:
       /usr/bin/base64 --wrap 0
       which /usr/bin/base64

       Exception: error running: /usr/bin/base64 --wrap 0
       exit status: 64
       stderr: base64: unrecognized option `--wrap'
       Usage:   /usr/bin/base64 [-hvD] [-b num] [-i in_file] [-o out_file]
         -h, --help     display this message
         -D, --decode   decodes input
         -b, --break    break encoded string into num character lines
         -i, --input    input file (default: "-" for stdin)
         -o, --output   output file (default: "-" for stdout)

  To rerun use: --match "/Test.SAML2.WebSSO.API/API/base64 encoding/compatible with /usr/bin/base64/\"foiy0t019061.........|||\"/"

  test/Test/SAML2/WebSSO/APISpec.hs:44:25:
  4) Test.SAML2.WebSSO.API.API, base64 encoding, compatible with /usr/bin/base64, "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________"
       uncaught exception: ReThrownException

       Ran commands:
       /usr/bin/base64 --wrap 0
       which /usr/bin/base64

       Exception: error running: /usr/bin/base64 --wrap 0
       exit status: 64
       stderr: base64: unrecognized option `--wrap'
       Usage:   /usr/bin/base64 [-hvD] [-b num] [-i in_file] [-o out_file]
         -h, --help     display this message
         -D, --decode   decodes input
         -b, --break    break encoded string into num character lines
         -i, --input    input file (default: "-" for stdin)
         -o, --output   output file (default: "-" for stdout)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant