Skip to content

Grab passphrase on demand during tests #1320

Description

@roosterfish

To support testing various different snap versions in the test suite, we should bring back support to grab the trust establishment passphrase from stdout. This is what we did originally.

By doing this, we don't require a specific binary which is built with testing mode but instead can run the binary inside the snap and simply grab its passphrase for the joiners.
This also requires TEST_CONSOLE=(0|1) environment variable to be present again in the regular snap binary to be able to switch to non-interactive input mode.

Also this requires backport to v2 so we can start testing 2/candidate in the weekly pipeline.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew feature, not a bugJiraAllows the synchronization of a GitHub issue in Jira

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions