348765bfba
Signed-off-by: Joel Longtine <joel@dagger.io>
26 lines
502 B
Bash
26 lines
502 B
Bash
setup() {
|
|
load 'helpers'
|
|
|
|
common_setup
|
|
}
|
|
|
|
@test "task: #Pull" {
|
|
cd "$TESTDIR"/tasks/pull
|
|
"$DAGGER" --europa up
|
|
}
|
|
|
|
@test "task: #ReadFile" {
|
|
cd "$TESTDIR"/tasks/readfile
|
|
"$DAGGER" --europa up
|
|
}
|
|
|
|
@test "task: #WriteFile" {
|
|
cd "$TESTDIR"/tasks/writefile
|
|
"$DAGGER" --europa up ./writefile.cue
|
|
}
|
|
|
|
@test "task: #WriteFile failure: different contents" {
|
|
cd "$TESTDIR"/tasks/writefile
|
|
run "$DAGGER" --europa up ./writefile_failure_diff_contents.cue
|
|
assert_failure
|
|
} |