aboutsummaryrefslogtreecommitdiffstats
path: root/vcs-test.pl
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2018-05-31 11:36:38 +0100
committerSteve McIntyre <steve@einval.com>2018-05-31 11:36:38 +0100
commitefc00108d1057ca715beea03271cfe9ebb55c22e (patch)
treed4888a4a16186dfe062751bee13c44a38b55273c /vcs-test.pl
parent9ad73da75f60b351ba43e8be99363e58ce624367 (diff)
Add get_newest_revision() and test harness code for it
Diffstat (limited to 'vcs-test.pl')
-rwxr-xr-xvcs-test.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcs-test.pl b/vcs-test.pl
index 4665f3f3370..29bdca8fc93 100755
--- a/vcs-test.pl
+++ b/vcs-test.pl
@@ -311,6 +311,12 @@ print "Got \"$ret\"\n";
##########################################################
print "#############################\n";
+print "VCS->get_newest_revision on $file :::\n";
+$ret = $VCS->get_newest_revision($file);
+print "Got \"$ret\"\n";
+
+##########################################################
+print "#############################\n";
print "VCS->next_revision (-1) on $file :::\n";
$ret = $VCS->next_revision($file, $rev1, -1);
print "Got \"$ret\", expecting \"$rev2\"\n";

© 2014-2024 Faster IT GmbH | imprint | privacy policy