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

@@ -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"

View File

@@ -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"
}]

View File

@@ -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"
},