/
githubmirror
/
skopeo
Обзор
Документация
Войти
/
githubmirror
/
skopeo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
systemtest/080-sync.bats
26 строк
572 B
Daniel J Walsh
Add dry-run mode to skopeo-sync
28 мар 2022, 21:18
Не верифицирован
28 мар 2022, 21:18
c233a6d
Код
Авторство
О чём код?
#!/usr/bin/env bats # # Sync tests # load helpers function setup() { standard_setup } @test "sync: --dry-run" { local remote_image=quay.io/libpod/busybox:latest local dir=$TESTDIR/dir run_skopeo sync --dry-run --src docker --dest dir --scoped $remote_image $dir expect_output --substring "Would have copied image" expect_output --substring "from=\"docker://${remote_image}\" to=\"dir:${dir}/${remote_image}\"" expect_output --substring "Would have synced 1 images from 1 sources" } teardown() { standard_teardown } # vim: filetype=sh