Skip to content

Commit

Permalink
Fixed test broken in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed Sep 14, 2018
1 parent 5d9bb45 commit d78d866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_container_env_clear.bats
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ teardown() {
}

@test "Checking that the container's environment is properly cleared after a restart..." {
exec_container_daemon sh -c "echo 1 > /var/run/cont-env/TEST_VAR"
exec_container_daemon sh -c "echo 1 > /var/run/s6/container_environment/TEST_VAR"

restart_container_daemon

exec_container_daemon sh -c "[ ! -f /var/run/cont-env/TEST_VAR ]"
exec_container_daemon sh -c "[ ! -f /var/run/s6/container_environment/TEST_VAR ]"
}

0 comments on commit d78d866

Please sign in to comment.