Rename tests with new naming convention and update tests lists

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau
2021-04-24 22:33:52 +02:00
parent a9189392b9
commit e366773dc0
25 changed files with 152 additions and 142 deletions

View File

@@ -0,0 +1,26 @@
package testing
import "dagger.io/dagger/op"
TestSimpleSubdir: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["mkdir", "-p", "/tmp/foo"]
},
op.#Exec & {
args: ["sh", "-c", "echo -n world > /tmp/foo/hello"]
},
op.#Subdir & {
dir: "/tmp/foo"
},
op.#Export & {
source: "./hello"
format: "string"
},
]
}