Add docker.#Command tests
Tests : - docker version with ssh - docker version with ssh and key passphrase - docker version with ass and wrong key passphrase Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
@@ -28,6 +28,19 @@ setup() {
|
||||
dagger -e docker-run-local up
|
||||
}
|
||||
|
||||
@test "docker command: ssh" {
|
||||
dagger -e docker-command-ssh up
|
||||
}
|
||||
|
||||
@test "docker command: ssh with key passphrase" {
|
||||
dagger -e docker-command-ssh-key-passphrase up
|
||||
}
|
||||
|
||||
@test "docker command: ssh with wrong key passphrase" {
|
||||
run dagger -e docker-command-ssh-wrong-key-passphrase up
|
||||
assert_failure
|
||||
}
|
||||
|
||||
@test "docker run: ssh" {
|
||||
dagger -e docker-run-ssh up
|
||||
}
|
||||
|
Reference in New Issue
Block a user