socket: add tests

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-09-17 11:51:06 -07:00
parent 5480fb991d
commit 408f147fab
3 changed files with 32 additions and 21 deletions

View File

@@ -1,18 +0,0 @@
package main
import (
"alpha.dagger.io/dagger/op"
"alpha.dagger.io/docker"
)
TestDockerSocket: #up: [
op.#Load & {
from: docker.#Client
},
op.#Exec & {
always: true
mount: "/var/run/docker.sock": "docker.sock"
args: ["docker", "info"]
},
]