Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t9200: use "git cvsexportcommit" without dash
author
Nanako Shiraishi
<nanako3@lavabit.com>
Tue, 9 Sep 2008 21:25:24 +0000
(06:25 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 10 Sep 2008 05:59:00 +0000
(22:59 -0700)
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9200-git-cvsexportcommit.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a15a435
)
diff --git
a/t/t9200-git-cvsexportcommit.sh
b/t/t9200-git-cvsexportcommit.sh
index 988c3ac754ab67867ed94ab23c58979621261a11..245a7c36628e955e04852a8c2beb75b8deaf4d7f 100755
(executable)
--- a/
t/t9200-git-cvsexportcommit.sh
+++ b/
t/t9200-git-cvsexportcommit.sh
@@
-9,7
+9,7
@@
test_description='Test export of commits to CVS'
cvs >/dev/null 2>&1
if test $? -ne 1
then
cvs >/dev/null 2>&1
if test $? -ne 1
then
- test_expect_success 'skipping git
-
cvsexportcommit tests, cvs not found' :
+ test_expect_success 'skipping git
cvsexportcommit tests, cvs not found' :
test_done
exit
fi
test_done
exit
fi
@@
-91,7
+91,7
@@
test_expect_success \
diff F/newfile6.png ../F/newfile6.png
)'
diff F/newfile6.png ../F/newfile6.png
)'
-# Should fail (but only on the git
-
cvsexportcommit stage)
+# Should fail (but only on the git
cvsexportcommit stage)
test_expect_success \
'Fail to change binary more than one generation old' \
'cat F/newfile6.png >>D/newfile4.png &&
test_expect_success \
'Fail to change binary more than one generation old' \
'cat F/newfile6.png >>D/newfile4.png &&
@@
-165,7
+165,7
@@
test_expect_success \
git commit -a -m "With spaces" &&
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
git commit -a -m "With spaces" &&
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
- git
-
cvsexportcommit -c $id &&
+ git
cvsexportcommit -c $id &&
check_entries "G g" "with spaces.png/1.1/-kb|with spaces.txt/1.1/"
)'
check_entries "G g" "with spaces.png/1.1/-kb|with spaces.txt/1.1/"
)'
@@
-177,7
+177,7
@@
test_expect_success \
git commit -a -m "Update with spaces" &&
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
git commit -a -m "Update with spaces" &&
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
- git
-
cvsexportcommit -c $id
+ git
cvsexportcommit -c $id
check_entries "G g" "with spaces.png/1.2/-kb|with spaces.txt/1.2/"
)'
check_entries "G g" "with spaces.png/1.2/-kb|with spaces.txt/1.2/"
)'
@@
-202,7
+202,7
@@
test_expect_success \
git commit -a -m "Går det så går det" && \
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
git commit -a -m "Går det så går det" && \
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
- git
-
cvsexportcommit -v -c $id &&
+ git
cvsexportcommit -v -c $id &&
check_entries \
"Å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö" \
"gårdetsågårdet.png/1.1/-kb|gårdetsågårdet.txt/1.1/"
check_entries \
"Å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö" \
"gårdetsågårdet.png/1.1/-kb|gårdetsågårdet.txt/1.1/"
@@
-222,7
+222,7
@@
test_expect_success \
git commit -a -m "Update two" &&
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
git commit -a -m "Update two" &&
id=$(git rev-list --max-count=1 HEAD) &&
(cd "$CVSWORK" &&
- test_must_fail git
-
cvsexportcommit -c $id
+ test_must_fail git
cvsexportcommit -c $id
)'
case "$(git config --bool core.filemode)" in
)'
case "$(git config --bool core.filemode)" in
@@
-239,7
+239,7
@@
test_expect_success \
git add G/off &&
git commit -a -m "Execute test" &&
(cd "$CVSWORK" &&
git add G/off &&
git commit -a -m "Execute test" &&
(cd "$CVSWORK" &&
- git
-
cvsexportcommit -c HEAD
+ git
cvsexportcommit -c HEAD
test -x G/on &&
! test -x G/off
)'
test -x G/on &&
! test -x G/off
)'