From 836ea21acaf16a9734865f0311be9981ccaa77ed Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Tue, 14 Aug 2012 00:37:56 -0500 Subject: [PATCH] Include --verify-all test-cases Include a --verify-all test-case for all the t01??.sh unit-tests, to run the self-test that the replay ran correctly. --- tests/t0100-replay-all.sh | 6 +++++- tests/t0101-replay-trunk.sh | 6 +++++- tests/t0102-replay-branch.sh | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/t0100-replay-all.sh b/tests/t0100-replay-all.sh index 3fe3ff2..8942a0f 100755 --- a/tests/t0100-replay-all.sh +++ b/tests/t0100-replay-all.sh @@ -19,7 +19,11 @@ OFFSET="/" test_expect_success \ "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET" \ - "$SVNREPLAY -a \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" + "$SVNREPLAY -av \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" + +test_expect_success \ + "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET (verify-all)" \ + "$SVNREPLAY -avcX \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" test_expect_success \ "diff-repo _repo_ref$OFFSET _repo_replay$OFFSET" \ diff --git a/tests/t0101-replay-trunk.sh b/tests/t0101-replay-trunk.sh index be0de42..49e6da3 100755 --- a/tests/t0101-replay-trunk.sh +++ b/tests/t0101-replay-trunk.sh @@ -20,7 +20,11 @@ svn mkdir -q -m "Add $OFFSET" $REPOURL$OFFSET test_expect_success \ "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET" \ - "$SVNREPLAY -a \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" + "$SVNREPLAY -av \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" + +test_expect_success \ + "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET (verify-all)" \ + "$SVNREPLAY -avcX \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" test_expect_success \ "diff-repo _repo_ref$OFFSET _repo_replay$OFFSET" \ diff --git a/tests/t0102-replay-branch.sh b/tests/t0102-replay-branch.sh index 8c35c24..ed73b28 100755 --- a/tests/t0102-replay-branch.sh +++ b/tests/t0102-replay-branch.sh @@ -21,7 +21,11 @@ svn mkdir -q --parents -m "Add $OFFSET" $REPOURL$OFFSET test_expect_success \ "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET" \ - "$SVNREPLAY -a \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" + "$SVNREPLAY -av \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" + +test_expect_success \ + "svnreplay _repo_ref$OFFSET _repo_replay$OFFSET (verify-all)" \ + "$SVNREPLAY -avcX \"$PWDURL/_repo_ref$OFFSET\" \"$PWDURL/_repo_replay$OFFSET\"" test_expect_success \ "diff-repo _repo_ref$OFFSET _repo_replay$OFFSET" \ -- 2.45.2