TEST: make sure copy of remote repo who received update has been updated locally
Just in case some implementation triggers task when there is an update but forgets to update the corresponding repo
This commit is contained in:
parent
c0e3bc6497
commit
6c0fabf1b5
|
@ -104,6 +104,9 @@ function clean {
|
|||
NEWTIME="$(cat $TMPDIR/forgebuild-time)"
|
||||
|
||||
[[ "$TIME" != "$NEWTIME" ]]
|
||||
|
||||
# Check that the forgebuild repo has been updated
|
||||
[ -f "$FORGEBUILDDIR"/.time/NEWFILE ]
|
||||
}
|
||||
|
||||
@test "update by source URL works" {
|
||||
|
|
|
@ -87,6 +87,9 @@ function clean {
|
|||
NEWTIME="$(cat $TMPDIR/forgebuild-time)"
|
||||
|
||||
[[ "$TIME" != "$NEWTIME" ]]
|
||||
|
||||
# Check that update has been propagated to the forgebuild copy of the repo
|
||||
[ -f "$FORGEBUILDDIR"/.time/NEWFILE ]
|
||||
}
|
||||
|
||||
@test "hg: can checkout to a specific branch/commit" {
|
||||
|
|
Loading…
Reference in New Issue