diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/hg-unnamed-head.script | 3 | ||||
-rw-r--r-- | tests/hg-unnamed-head.stdout | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/hg-unnamed-head.script b/tests/hg-unnamed-head.script index fa2693f..512938f 100755 --- a/tests/hg-unnamed-head.script +++ b/tests/hg-unnamed-head.script @@ -26,6 +26,7 @@ workdir="$DATADIR/work-dir" "${SRCDIR}/test-lorry" --verbose --pull-only --log="$logfile" --working-area="$workdir" \ "$DATADIR/hg-test-repo.lorry" > /dev/null 2> /dev/null +grep -o 'pruned [0-9]* unreachable commit' < "$logfile" || true # verify that the git repository was created correctly ( @@ -48,4 +49,4 @@ workdir="$DATADIR/work-dir" # that this involves pruning an unreachable commit "${SRCDIR}/test-lorry" --verbose --pull-only --log="$logfile" --working-area="$workdir" \ "$DATADIR/hg-test-repo.lorry" > /dev/null 2> /dev/null -grep -c 'pruning unreachable commit' < "$logfile" +grep -o 'pruned [0-9]* unreachable commit' < "$logfile" diff --git a/tests/hg-unnamed-head.stdout b/tests/hg-unnamed-head.stdout index 7354306..029b454 100644 --- a/tests/hg-unnamed-head.stdout +++ b/tests/hg-unnamed-head.stdout @@ -4,4 +4,4 @@ first line third line third commit first commit -1 +pruned 1 unreachable commit |