setup() {
load 'helpers'
common_setup
}
@test "task: #Pull" {
cd "$TESTDIR"/tasks/pull
"$DAGGER" --europa up
@test "task: #ReadFile" {
cd "$TESTDIR"/tasks/readfile
@test "task: #WriteFile" {
cd "$TESTDIR"/tasks/writefile
"$DAGGER" --europa up ./writefile.cue
@test "task: #WriteFile failure: different contents" {
run "$DAGGER" --europa up ./writefile_failure_diff_contents.cue
assert_failure
@test "task: #Exec" {
cd "$TESTDIR"/tasks/exec
"$DAGGER" --europa up ./args.cue
"$DAGGER" --europa up ./env.cue
"$DAGGER" --europa up ./hosts.cue
"$DAGGER" --europa up ./mount_cache.cue
"$DAGGER" --europa up ./mount_fs.cue
TESTSECRET="hello world" "$DAGGER" --europa up ./mount_secret.cue
"$DAGGER" --europa up ./mount_tmp.cue
"$DAGGER" --europa up ./user.cue
"$DAGGER" --europa up ./workdir.cue