Rename tests with new naming convention and update tests lists
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
4
tests/ops/mounts/valid/cache/main.cue
vendored
4
tests/ops/mounts/valid/cache/main.cue
vendored
@@ -2,7 +2,7 @@ package testing
|
||||
|
||||
import "dagger.io/dagger/op"
|
||||
|
||||
test: {
|
||||
TestMountCache: {
|
||||
string
|
||||
|
||||
#up: [
|
||||
@@ -11,7 +11,7 @@ test: {
|
||||
},
|
||||
op.#Exec & {
|
||||
args: ["sh", "-c", """
|
||||
echo "NOT SURE WHAT TO TEST YET" > /out
|
||||
echo -n "NOT SURE WHAT TO TEST YET" > /out
|
||||
"""]
|
||||
dir: "/"
|
||||
mount: something: "cache"
|
||||
|
@@ -2,7 +2,7 @@ package testing
|
||||
|
||||
import "dagger.io/dagger/op"
|
||||
|
||||
test: {
|
||||
TestInvalidMountPath: {
|
||||
string
|
||||
|
||||
#up: [
|
||||
@@ -18,7 +18,7 @@ test: {
|
||||
ls -lA /lol > /out
|
||||
"""]
|
||||
mount: something: {
|
||||
input: [{
|
||||
from: [{
|
||||
do: "fetch-container"
|
||||
ref: "alpine"
|
||||
}]
|
||||
|
@@ -2,7 +2,7 @@ package testing
|
||||
|
||||
import "dagger.io/dagger/op"
|
||||
|
||||
test: {
|
||||
TestMountTmpfs: {
|
||||
string
|
||||
|
||||
#up: [
|
||||
@@ -15,8 +15,8 @@ test: {
|
||||
},
|
||||
op.#Exec & {
|
||||
args: ["sh", "-c", """
|
||||
echo ok > /out
|
||||
echo ok > /tmpdir/out
|
||||
echo -n ok > /out
|
||||
echo -n ok > /tmpdir/out
|
||||
"""]
|
||||
mount: "/tmpdir": "tmpfs"
|
||||
},
|
||||
|
Reference in New Issue
Block a user