mirror of
https://github.com/kennethreitz/bake.git
synced 2026-06-05 23:00:17 +00:00
20 lines
374 B
Bash
20 lines
374 B
Bash
export HELLO=WORLD
|
|
|
|
|
|
@test "env cache clear" {
|
|
bake -b env.Bakefile --clear-envs env
|
|
}
|
|
|
|
|
|
@test "removal of environment untrusted variables" {
|
|
run bake -b env.Bakefile env
|
|
[[ "${output}" != *HELLO=WORLD* ]]
|
|
}
|
|
|
|
|
|
@test "allowance of environment untrusted variables" {
|
|
run bake --allow HELLO
|
|
run bake -b env.Bakefile env
|
|
[[ "${output}" == *"WORLD"* ]]
|
|
}
|