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

gen-stdout.toml and gen-output.toml:teardown tests failed #562

Open
Xeonacid opened this issue Feb 13, 2025 · 0 comments
Open

gen-stdout.toml and gen-output.toml:teardown tests failed #562

Xeonacid opened this issue Feb 13, 2025 · 0 comments

Comments

@Xeonacid
Copy link

Xeonacid commented Feb 13, 2025

Environment

  • OS: Arch Linux x86_64
  • rage version: 0.11.1 or the lastest commit d7c727a

What were you trying to do

cargo test --frozen --all-features

What happened

Testing tests/cmd/rage-keygen/gen-stdout.toml ... failed
Exit: success

---- expected: stdout
++++ actual:   stdout
   1      - # created: 20[..]-[..]-[..]T[..]:[..]:[..]Z
   2      - # public key: age1[..]
   3      - AGE-SECRET-KEY-1[..]
        1 + # created: 2025-02-13T06:39:18+01:00
        2 + # public key: age1mf05mu6wauvzsj5adlv3src9gx698q0r66zs8a78gxt7ngadrd3qszreqf
        3 + AGE-SECRET-KEY-1TQYGWQF588DW6L4WFWS3QDLF3NXGQQS6M5AFPZHVL6002VC6YSRSM25FS4
stderr:
Public key: age1[..]

Testing tests/cmd/rage-keygen/version.toml ... ok                                                                                                                                  Testing tests/unix/rage/encrypt-passphrase-without-file-argument.toml ... ok
Testing tests/cmd/rage-keygen/gen-output.toml ... ok
Testing tests/cmd/rage-keygen/gen-output.toml:teardown ... failed
Failed: Files left in unexpected state

tests/cmd/rage-keygen/gen-output.out: is good

---- expected: tests/cmd/rage-keygen/gen-output.out/key.txt                                                                                                                        ++++ actual:   /tmp/.tmplbYQGv/key.txt
   1      - # created: 20[..]-[..]-[..]T[..]:[..]:[..]Z
   2      - # public key: age1[..]
   3      - AGE-SECRET-KEY-1[..]∅
        1 + # created: 2025-02-13T06:39:18+01:00
        2 + # public key: age1qmprf95r4fcqnt02zndhw60rtclejrvm6h78r2ua5hqsa3qk9dqssmh2dp
        3 + AGE-SECRET-KEY-1SQZEUDQHTQTR6TYW2Z78UP2GKPU32M4RAL35JR8X8P47PN2LERSQH33TMQ
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