Test for non-master default branches

This commit is contained in:
southerntofu 2020-09-22 15:45:02 +02:00
parent 84b707c97c
commit d9ea3e1666
1 changed files with 8 additions and 0 deletions

View File

@ -91,6 +91,14 @@ function clean {
[[ "$TIME" != "$NEWTIME" ]]
}
@test "support any default branch (not just master)" {
cd $GITREPO
# Move "master" to "default" branch
git branch -m default
$FORGEBUILD -b $FORGEBUILDDIR time
[ -f /tmp/forgebuild-time ]
}
# Task settings
@test "host-based settings are loaded" {