Rename tests with new naming convention and update tests lists
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
26
tests/ops/subdir/valid/simple/main.cue
Normal file
26
tests/ops/subdir/valid/simple/main.cue
Normal 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"
|
||||
},
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user