Environment variables
Get an environment variable
Given a file named “main.scm” with:
And I set the environment variable “FOO” to “bar”
When I successfully run scheme main.scm
Then the stdout should contain exactly “bar”.
Get environment variables
Given a file named “main.scm” with:
And I set the environment variable “FOO” to “bar”
And I set the environment variable “BAZ” to “qux”
When I successfully run scheme main.scm
Then the stdout should contain “FOO=bar”
And the stdout should contain “BAZ=qux”.