Test for non-master default branches
This commit is contained in:
parent
84b707c97c
commit
d9ea3e1666
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue