tests: migrate ops test to bats
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
23
tests/ops/copy/valid/script/main.cue
Normal file
23
tests/ops/copy/valid/script/main.cue
Normal file
@@ -0,0 +1,23 @@
|
||||
package testing
|
||||
|
||||
test: {
|
||||
string
|
||||
|
||||
#up: [
|
||||
{
|
||||
do: "fetch-container"
|
||||
ref: "busybox"
|
||||
},
|
||||
{
|
||||
do: "copy"
|
||||
from: [{do: "fetch-container", ref: "alpine"}]
|
||||
src: "/etc/issue"
|
||||
dest: "/"
|
||||
},
|
||||
{
|
||||
do: "export"
|
||||
source: "/issue"
|
||||
format: "string"
|
||||
},
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user