From dd712ebcd0d6e3fc7bfd33629dd08c0dd068d981 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Thu, 9 Aug 2012 22:37:19 -0500 Subject: [PATCH] Fix t0001-diff-repo test descriptions --- tests/t0001-diff-repo.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/t0001-diff-repo.sh b/tests/t0001-diff-repo.sh index 547772d..14d4132 100755 --- a/tests/t0001-diff-repo.sh +++ b/tests/t0001-diff-repo.sh @@ -4,7 +4,7 @@ test_description='Test diff-repo.sh ' . ./test-lib.sh -PWD=$(pwd) +PWD=${TEST_DIRECTORY:-.} PWDURL=$(echo "file://$PWD" | sed 's/\ /%20/g') REPO="$PWD/_repo_tmp" REPO2="$PWD/_repo_tmp2" @@ -35,7 +35,7 @@ test_expect_failure \ rsync -aq $PWD/_repo_tmp/ $PWD/_repo_tmp2 test_expect_success \ - "diff-repo: REPO1/trunk == REPO2/trunk" \ + "diff-repo: REPO1/trunk == REPO2/trunk (identical)" \ "./diff-repo.sh $REPOURL/trunk $REPO2URL/trunk" rm -rf "$WC" @@ -46,7 +46,7 @@ svn -q add "$WC/Module/ProjectA/FileA3.txt" svn ci -q -m "Second commit" "$WC" test_expect_failure \ - "diff-repo: REPO1/trunk == REPO2/trunk" \ + "diff-repo: REPO1/trunk != REPO2/trunk (changed)" \ "./diff-repo.sh $REPOURL/trunk $REPO2URL/trunk" rm -rf "$REPO" "$REPO2" "$WC" -- 2.45.2