#! /bin/sh
. "${0%/*}/test.subr"

set_up_package "git-multi.mk"
set_up_repository git

step "Testing Git with multiple repositories"
package_make patch

assert_that --file "$wrkdir/pkgbase/today" --has-content "2018-03-01"
assert_that --file "$wrkdir/2017/today"    --has-content "2017-01-01"
assert_that --file "$wrkdir/current/today" --has-content "2018-03-01"
